点饭的百度空间
银牌会员
     
积分 2315
发帖 2236
注册 2007-11-30
|
#1 新病毒会唱歌?【killvxk】荷兰rootkit——居然放声音!
黑客X档案论坛【从主板唱歌到新概念病毒的开发】
上次 peter08发了个主板唱歌的帖子。
在网上查了下原来是个很古老的小玩意儿了.
众人皆知,高频声音和低频声音都会对人体造成负面影响。有的甚至会让人呕吐头晕。
于是我又有了新的想法.
我们在编写病毒的时候,是否可以加入以上主板发声的代码 主板唱歌.
把频率设置特高.主板发音很高,如果长时间发音的话是否会造成主板的硬件损伤?烧坏?同时对人体造成伤害?
这样是否就算是一种新型的病毒?
-----对软件系统以外的东西造成伤害的病毒?
破坏硬件和人体的病毒?
能力有限,时间有限,所以还没有加以实践。再此我只是抛砖引玉,欢迎有兴趣的朋友来讨论.文章有理论上错误的地方希望大家及时指出。
详细内容:http://bbs.micropoint.com.cn/showthread.asp?tid=43310
【killvxk】
代码抄自一个荷兰rootkit——居然放声音~~~
这rootkit是故意的~~
驱动开始娱乐化 用驱动放个有意义的声音~~很不好听
【mj0011】参考iceext的代码,操作ac97放MP3就可以了~
iceext还可以边听MP3边玩俄罗斯方块,不错的 iceext的主页:http://stenri.pisem.net/
#define TIMER_FREQUENCY 1193167
#define OCTAVE 2
#define NOTE_SILENCE 0
#define NOTE_DO 523
#define NOTE_DOs 554
#define NOTE_RE 587
#define NOTE_REs 622
#define NOTE_MI 659
#define NOTE_FA 698
#define NOTE_FAs 740
#define NOTE_SOL 784
#define NOTE_SOLs 831
#define NOTE_LA 880
#define NOTE_LAs 988
#define NOTE_SI 104
#define TEMPO_NOIRE 0x0FF00000
#define TEMPO_BLANCHE (TEMPO_NOIRE*2)
#define TEMPO_DBLANCHE (TEMPO_NOIRE*4)
#define TEMPO_CROCHE (TEMPO_NOIRE/2)
#define TEMPO_DCROCHE (TEMPO_NOIRE/4)
typedef struct
{
WORD note;
WORD tempo;
} note, *Pnote;
void makebeep (WORD note, WORD tempo)
{
__asm
{
cmp note,0
je pas_de_son
cli
mov al, 0xB6 //Accede au compteur 2 du PIT
out 0x43, al
mov eax, note //R鑗le la fr閝uence du beeper,
out 0x42, al //d'abord low octet puis hi octet
mov al, ah
out 0x42, al
in al, 0x61 //Chope le status du beeper
or al, 3 //Et force l'activation
out 0x61, al
sti
pas_de_son:
mov eax, tempo //Boucle d'attente
looping:
dec eax
jnz looping
cli
in al, 0x61 //Chope le status du beeper
and al, 0xFC //Et force le silence
out 0x61, al
sti
}
}
void do_the_music()
{
note partition[100];
WORD taille_partition;
WORD i;
partition[0 ].note = TIMER_FREQUENCY/(NOTE_DO*OCTAVE); partition[0 ].tempo = TEMPO_BLANCHE;
partition[1 ].note = TIMER_FREQUENCY/(NOTE_DO*OCTAVE); partition[1 ].tempo = TEMPO_BLANCHE;
partition[2 ].note = TIMER_FREQUENCY/(NOTE_DO*OCTAVE); partition[2 ].tempo = TEMPO_BLANCHE;
partition[3 ].note = TIMER_FREQUENCY/(NOTE_RE*OCTAVE); partition[3 ].tempo = TEMPO_BLANCHE;
partition[4 ].note = TIMER_FREQUENCY/(NOTE_MI*OCTAVE); partition[4 ].tempo = TEMPO_DBLANCHE;
partition[5 ].note = TIMER_FREQUENCY/(NOTE_RE*OCTAVE); partition[5 ].tempo = TEMPO_DBLANCHE;
partition[6 ].note = TIMER_FREQUENCY/(NOTE_DO*OCTAVE); partition[6 ].tempo = TEMPO_BLANCHE;
partition[7 ].note = TIMER_FREQUENCY/(NOTE_MI*OCTAVE); partition[7 ].tempo = TEMPO_BLANCHE;
partition[8 ].note = TIMER_FREQUENCY/(NOTE_RE*OCTAVE); partition[8 ].tempo = TEMPO_BLANCHE;
partition[9 ].note = TIMER_FREQUENCY/(NOTE_RE*OCTAVE); partition[9 ].tempo = TEMPO_BLANCHE;
partition[10].note = TIMER_FREQUENCY/(NOTE_DO*OCTAVE); partition[10].tempo = TEMPO_DBLANCHE;
taille_partition = 11;
for (i = 0; i<taille_partition;i++)
makebeep(partition.note,partition.tempo);
}
|
※ ※ ※ 本文纯属【点饭的百度空间】个人意见,与【 微点交流论坛 】立场无关※ ※ ※
|
 你的微笑 is 微点的骄傲!
http://hi.baidu.com/new/micropoint |
 |
|