<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2507480728943936117</id><updated>2012-02-16T03:49:06.475-08:00</updated><title type='text'>Supero Omnia</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ri0t</name><uri>http://www.blogger.com/profile/08884559150528455822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>16</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-4729728347772263154</id><published>2008-09-10T14:06:00.001-07:00</published><updated>2008-09-10T14:10:53.774-07:00</updated><title type='text'>Automated ActiveX Exploitation with COMikazi</title><content type='html'>This October i will be presenting at the Tulsa Tech Fest www.tuslatechfest.com .  I will be presenting on a new tool currently in development at Bastard Labs called &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;COMikazi&lt;/span&gt;.  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;COMikazi&lt;/span&gt; is basically what you get when you cross a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;webcrawler&lt;/span&gt; that actively searches for new COM objects on the &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_3"&gt;Internet&lt;/span&gt; and a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;ActiveX&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;fuzzer&lt;/span&gt; designed to find security bugs in &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;ActiveX&lt;/span&gt; controls.  But we &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;couldnt&lt;/span&gt; leave it there so we took it a step further and Created an Automatic Exploit Generator that will take the security vulnerabilities found by &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;COMikazi&lt;/span&gt; and &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_9"&gt;Automatically&lt;/span&gt; Generate working &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;metasploit&lt;/span&gt; exploit modules for those security vulnerabilities :).  yes &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;thats&lt;/span&gt; right with one click &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;COMikazi&lt;/span&gt; will scour the Internet looking for vulnerable code and when found &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_13"&gt;automatically&lt;/span&gt;  pump out 0day exploit modules.  thats how we roll at blabs :)  Automatic Exploit Generation FTW&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ri0t&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-4729728347772263154?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/4729728347772263154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=4729728347772263154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/4729728347772263154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/4729728347772263154'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2008/09/automated-activex-exploitation-with.html' title='Automated ActiveX Exploitation with COMikazi'/><author><name>ri0t</name><uri>http://www.blogger.com/profile/08884559150528455822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-8613669130681596451</id><published>2008-07-28T15:15:00.000-07:00</published><updated>2008-07-28T15:17:18.149-07:00</updated><title type='text'>So simple it's scary....</title><content type='html'>does your HIP product stop me from tampering with it's system call interception hooks?   It does?  Can you show me, because I'm not seeing it....  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That is all...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-8613669130681596451?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/8613669130681596451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=8613669130681596451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8613669130681596451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8613669130681596451'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2008/07/so-simple-its-scary.html' title='So simple it&apos;s scary....'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-7750105395254066773</id><published>2008-05-07T05:55:00.000-07:00</published><updated>2008-05-07T05:56:09.405-07:00</updated><title type='text'>more xss talk</title><content type='html'>i think some of the problem with the importance of XSS lies in the availability of quality client side bugs. i read a quote once that said xss is for people that dont have client sides and while i think this is a bit short sighted it does have some merit. If you were attacking a target and you had a choice of where to put your research and development hours between a xss bug that you could do some cool shit with but not quite get shell or a client side stack overflow that you can write an exploit for with very minimal effort (thank you skylined)and gets you full system control? lets face it your average infosec guy and random company doesn't really have the understanding to fully grasp the importance of a vulnerability class they rely on whitehats to do that for them. They look at what people are working on and say oh that must be whats important if this other vuln class was important then there would be alot of people working on it. now while i agree alot of xss work has been done lately (and by lately i mean the last 2 to 3 years or so) i dont think alot of that work has had a chance to filter down to joe blow admin yet. lets face it they have to hear it 19 times before they get it anyway.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ri0t&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-7750105395254066773?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/7750105395254066773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=7750105395254066773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/7750105395254066773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/7750105395254066773'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2008/05/more-xss-talk.html' title='more xss talk'/><author><name>ri0t</name><uri>http://www.blogger.com/profile/08884559150528455822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-6477671825681364895</id><published>2008-05-06T14:48:00.001-07:00</published><updated>2008-05-06T14:50:58.051-07:00</updated><title type='text'>The importance of the lack of importance of XSS</title><content type='html'>Am I the only one who finds the lack of importance placed on XSS a bit annoying? Can it be the lack of understanding behind the vulnerability for such reasons?  I would like to think that most peeps in the security industry would raise a flag on xss issues for more than one reason, but at the very least for shitty coding practices!  Thoughts on this?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-6477671825681364895?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/6477671825681364895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=6477671825681364895' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/6477671825681364895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/6477671825681364895'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2008/05/importance-of-lack-of-importance-of-xss.html' title='The importance of the lack of importance of XSS'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-680350691167714246</id><published>2008-04-02T12:34:00.000-07:00</published><updated>2008-04-02T12:36:59.185-07:00</updated><title type='text'>Firewall Appliances</title><content type='html'>I've always had interest in appliance based firewall/IPS solutions.  I'm going to run some tests against several smaller appliances, mostly SOHO solutions.  Should include Netscreen, Watchguard, Checkpoint(Sofaware), Cisco PIX 501, and ASA5505 and perhaps a few more.  I'll be posting some results here. It should be interesting to see how each responds to various tests etc..  &lt;br /&gt;&lt;br /&gt;In other news.. Blackhat/DefCon is quickly approaching.  The BL crew should be in full force this year.. stay tuned for more info!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-680350691167714246?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/680350691167714246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=680350691167714246' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/680350691167714246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/680350691167714246'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2008/04/firewall-appliances.html' title='Firewall Appliances'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-1103408600007793215</id><published>2008-03-21T11:54:00.000-07:00</published><updated>2008-03-21T11:55:54.397-07:00</updated><title type='text'>I'm not dead.. just busy.. more HIPS FUN..</title><content type='html'>HIPS.. Hope it protects something... ;-)&lt;br /&gt;&lt;br /&gt;As usual I'm digging into various HIPS products and having fun.. I found a bit of time to post more hook exploration... &lt;br /&gt;&lt;br /&gt;enjoy... &lt;br /&gt;&lt;br /&gt;ZwSetLdtEntries hooked, jump to 00191BCB&lt;br /&gt;ZwSetValueKey hooked, jump to 00191B97&lt;br /&gt;ZwWriteVirtualMemory hooked, jump to 00190105&lt;br /&gt;&lt;br /&gt;kernel32.dll&lt;br /&gt;CopyFileA hooked, jump to 00190175&lt;br /&gt;CopyFileExA hooked, jump to 00191B09&lt;br /&gt;CopyFileExW hooked, jump to 0019019F&lt;br /&gt;CopyFileW hooked: f=8BFF558BEC, m=FF2C258557&lt;br /&gt;CreateFileA hooked, jump to 00191AD9&lt;br /&gt;CreateFileMappingA hooked, jump to 00191AA4&lt;br /&gt;CreateFileMappingW hooked: f=8BFF558BEC, m=8AFF368ADB&lt;br /&gt;CreateFileW hooked: f=8BFF558BEC, m=87C92E3E26&lt;br /&gt;CreateMailslotA hooked: f=8BFF558BEC, m=8BC036F3FF&lt;br /&gt;  difference at relocated offset 7C834E41 in CreateMailslotW&lt;br /&gt;CreateNamedPipeA hooked: f=8BFF558BEC, m=EB07C0D200&lt;br /&gt;CreateNamedPipeW hooked: f=8BFF558BEC, m=3EF38ADBF2&lt;br /&gt;CreateProcessA hooked: f=8BFF558BEC, m=F30F008CA4&lt;br /&gt;  difference at relocated offset 7C81DA9E in CreateProcessInternalA&lt;br /&gt;CreateProcessInternalW hooked, jump to 0019022E&lt;br /&gt;  difference at relocated offset 7C802332 in CreateProcessW&lt;br /&gt;CreateRemoteThread hooked, jump to 00191A7E&lt;br /&gt;CreateThread hooked: f=8BFF558BEC, m=90F2653E26&lt;br /&gt;CreateToolhelp32Snapshot hooked, jump to 00191A51&lt;br /&gt;CreateVirtualBuffer hooked: f=8BFF558BEC, m=8D3FC0F600&lt;br /&gt;DebugActiveProcess hooked, jump to 00190251&lt;br /&gt;DeleteFileA hooked, jump to 00191A32&lt;br /&gt;DeleteFileW hooked: f=8BFF558BEC, m=F694A49BF1&lt;br /&gt;DeviceIoControl hooked, jump to 00190286&lt;br /&gt;  difference at relocated offset 7C80E016 in DuplicateHandle&lt;br /&gt;DuplicateHandle hooked, jump to 001902BC&lt;br /&gt;GetModuleHandleA hooked, jump to 00191A19&lt;br /&gt;GetModuleHandleW hooked: f=8BFF558BEC, m=653E90F29C&lt;br /&gt;GetProcAddress hooked: f=8BFF558BEC, m=86C08BE467&lt;br /&gt;HeapCreate hooked: f=8BFF558BEC, m=87C96765F2&lt;br /&gt;LoadLibraryA hooked, jump to 001902EB&lt;br /&gt;LoadLibraryExA hooked, jump to 00190310&lt;br /&gt;LoadLibraryExW hooked, jump to 00190344&lt;br /&gt;LoadLibraryW hooked, jump to 001919E2&lt;br /&gt;  difference at relocated offset 7C86125E in LoadModule&lt;br /&gt;MapViewOfFile hooked: f=8BFF558BEC, m=FF2C2596B7&lt;br /&gt;MapViewOfFileEx hooked: f=8BFF558BEC, m=87C9902636&lt;br /&gt;MoveFileA hooked: f=8BFF558BEC, m=900FACF900&lt;br /&gt;MoveFileExA hooked: f=8BFF558BEC, m=FF2C25ACD2&lt;br /&gt;MoveFileExW hooked: f=8BFF558BEC, m=2E8D3F9036&lt;br /&gt;MoveFileW hooked: f=8BFF558BEC, m=FF2C256396&lt;br /&gt;MoveFileWithProgressA hooked, jump to 00191969&lt;br /&gt;MoveFileWithProgressW hooked, jump to 00191951&lt;br /&gt;OpenFile hooked, jump to 00190378&lt;br /&gt;  difference at relocated offset 7C81E079 in OpenProcess&lt;br /&gt;OpenProcess hooked: f=8BFF558BEC, m=363E2E2EFF&lt;br /&gt;OpenThread hooked: f=8BFF558BEC, m=26F22E36C0&lt;br /&gt;ReadFile hooked, jump to 00191915&lt;br /&gt;ReadFileEx hooked: f=8BFF558BEC, m=F2F3362EFF&lt;br /&gt;ReadProcessMemory hooked: f=8BFF558BEC, m=F694E4CFF1&lt;br /&gt;SetThreadContext hooked, jump to 001918DC&lt;br /&gt;SetUnhandledExceptionFilter hooked, jump to 001918B3&lt;br /&gt;VirtualAlloc hooked: f=8BFF558BEC, m=F266F20FAC&lt;br /&gt;VirtualAllocEx hooked, jump to 00191895&lt;br /&gt;VirtualFree hooked: f=8BFF558BEC, m=90FF2C251D&lt;br /&gt;VirtualFreeEx hooked: f=8BFF558BEC, m=87C96A5567&lt;br /&gt;VirtualProtect hooked: f=8BFF558BEC, m=3666678D34&lt;br /&gt;VirtualProtectEx hooked: f=8BFF558BEC, m=8BC0EB0965&lt;br /&gt;VirtualQuery hooked: f=8BFF558BEC, m=0F86B7EF93&lt;br /&gt;VirtualQueryEx hooked: f=8BFF558BEC, m=8BE436F3EA&lt;br /&gt;WinExec hooked: f=8BFF558BEC, m=900F862997&lt;br /&gt;WriteFile hooked, jump to 00191852&lt;br /&gt;WriteFileEx hooked: f=8BFF558BEC, m=9068C46176&lt;br /&gt;WriteProcessMemory hooked: f=8BFF558BEC, m=86E4EB0F3E&lt;br /&gt;_lcreat hooked, jump to 00191824&lt;br /&gt;_lopen hooked, jump to 001917E7&lt;br /&gt;&lt;br /&gt;user32.dll&lt;br /&gt;SendInput hooked, jump to 001917CB&lt;br /&gt;keybd_event hooked: f=8BFF558BEC, m=F2F23EF30F&lt;br /&gt;mouse_event hooked: f=8BFF558BEC, m=3EF3F22EC1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ws2_32.dll&lt;br /&gt;WSAAccept hooked: f=8BFF558BEC, m=68E4819663&lt;br /&gt;  difference at relocated offset 71AC0C69 in WSAConnect&lt;br /&gt;WSADuplicateSocketA hooked: f=8BFF558BEC, m=67F3660FBF&lt;br /&gt;WSADuplicateSocketW hooked: f=8BFF558BEC, m=260F8668F7&lt;br /&gt;WSARecv hooked: f=8BFF558BEC, m=3667F2F3E9&lt;br /&gt;  difference at relocated offset 71ABF5D6 in WSARecvDisconnect&lt;br /&gt;WSARecvDisconnect hooked: f=8BFF558BEC, m=87C9FF2C25&lt;br /&gt;WSARecvFrom hooked: f=8BFF558BEC, m=6894B14693&lt;br /&gt;WSASend hooked: f=8BFF558BEC, m=FF2C253E62&lt;br /&gt;WSASendDisconnect hooked: f=8BFF558BEC, m=87C9900F86&lt;br /&gt;WSASendTo hooked: f=8BFF558BEC, m=6586C026E9&lt;br /&gt;WSASocketA hooked: f=8BFF558BEC, m=0FA4DD0036&lt;br /&gt;WSASocketW hooked, jump to 00190884&lt;br /&gt;accept hooked: f=8BFF558BEC, m=8D3FEB0590&lt;br /&gt;connect hooked: f=8BFF558BEC, m=87C9FF2C25&lt;br /&gt;recv hooked: f=8BFF558BEC, m=68C4617643&lt;br /&gt;recvfrom hooked: f=8BFF558BEC, m=3E2E0FA4DD&lt;br /&gt;send hooked: f=8BFF558BEC, m=6A7D689F04&lt;br /&gt;sendto hooked: f=8BFF558BEC, m=90F3F22667&lt;br /&gt;socket hooked: f=8BFF558BEC, m=86C03E2EFF&lt;br /&gt;Terminé&lt;br /&gt;psapi.dll&lt;br /&gt;&lt;br /&gt;advapi32.dll&lt;br /&gt;ControlService hooked, jump to 00190420&lt;br /&gt;CreateProcessAsUserA hooked: f=8BFF558BEC, m=3E8AFF8DAD&lt;br /&gt;CreateProcessAsUserW hooked: f=8BFF558BEC, m=6766678D74&lt;br /&gt;  difference at relocated offset 77E15C9D in CreateProcessWithLogonW&lt;br /&gt;  difference at relocated offset 77E15C9F in CreateProcessWithLogonW&lt;br /&gt;CreateServiceA hooked, jump to 00191721&lt;br /&gt;CreateServiceW hooked, jump to 0019170B&lt;br /&gt;ElfClearEventLogFileA hooked, jump to 00190472&lt;br /&gt;ElfClearEventLogFileW hooked, jump to 001916C8&lt;br /&gt;InstallApplication hooked: f=8BFF558BEC, m=2E3EFF2C25&lt;br /&gt;LogonUserA hooked: f=8BFF558BEC, m=90656894B1&lt;br /&gt;LogonUserW hooked: f=8BFF558BEC, m=F39087ED65&lt;br /&gt;LsaAddAccountRights hooked, jump to 00191689&lt;br /&gt;LsaAddPrivilegesToAccount hooked, jump to 0019165C&lt;br /&gt;LsaCreateAccount hooked, jump to 0019049D&lt;br /&gt;LsaOpenAccount hooked, jump to 001904C5&lt;br /&gt;LsaOpenSecret hooked, jump to 0019161B&lt;br /&gt;LsaQuerySecret hooked, jump to 001904DC&lt;br /&gt;  difference at relocated offset 77DF02D6 in LsaRetrievePrivateData&lt;br /&gt;LsaSetSecret hooked, jump to 001915EB&lt;br /&gt;  difference at relocated offset 77DF04A1 in LsaStorePrivateData&lt;br /&gt;LsaStorePrivateData hooked, jump to 001915AD&lt;br /&gt;  difference at relocated offset 77DF64A0 in OpenEventLogA&lt;br /&gt;OpenEventLogW hooked: f=8BFF558BEC, m=0F878A9E35&lt;br /&gt;OpenProcessToken hooked, jump to 0019053F&lt;br /&gt;OpenSCManagerA hooked, jump to 00191591&lt;br /&gt;OpenSCManagerW hooked, jump to 00191551&lt;br /&gt;OpenServiceA hooked, jump to 00190578&lt;br /&gt;OpenServiceW hooked, jump to 0019153B&lt;br /&gt;OpenThreadToken hooked: f=8BFF558BEC, m=680C693ECB&lt;br /&gt;RegCreateKeyA hooked: f=8BFF558BEC, m=268BE490F2&lt;br /&gt;RegCreateKeyExA hooked: f=8BFF558BEC, m=3E2E36EAFE&lt;br /&gt;RegCreateKeyExW hooked: f=8BFF558BEC, m=2686E42E36&lt;br /&gt;RegCreateKeyW hooked: f=8BFF558BEC, m=9086C02EF2&lt;br /&gt;RegDeleteKeyA hooked: f=8BFF558BEC, m=6A4568E70C&lt;br /&gt;RegDeleteKeyW hooked: f=8BFF558BEC, m=36650FACC9&lt;br /&gt;RegDeleteValueA hooked: f=8BFF558BEC, m=86C0642E67&lt;br /&gt;RegDeleteValueW hooked: f=8BFF558BEC, m=26F29C9067&lt;br /&gt;  difference at relocated offset 77DFC41B in RegOpenKeyA&lt;br /&gt;RegOpenKeyA hooked: f=8BFF558BEC, m=660FBFD264&lt;br /&gt;RegOpenKeyExA hooked: f=8BFF558BEC, m=2E36F367C0&lt;br /&gt;RegOpenKeyExW hooked: f=8BFF558BEC, m=36FF2C2590&lt;br /&gt;RegOpenKeyW hooked: f=8BFF558BEC, m=F29C659090&lt;br /&gt;RegSetKeySecurity hooked: f=8BFF558BEC, m=F3F2F3649C&lt;br /&gt;RegSetValueA hooked: f=8BFF558BEC, m=6894B14693&lt;br /&gt;RegSetValueExA hooked, jump to 001905B1&lt;br /&gt;RegSetValueExW hooked, jump to 00191527&lt;br /&gt;RegSetValueW hooked: f=8BFF558BEC, m=8BC00F8C00&lt;br /&gt;RevertToSelf hooked: f=8BFF558BEC, m=3E8D920000&lt;br /&gt;SetFileSecurityA hooked: f=8BFF558BEC, m=909C0EF265&lt;br /&gt;SetFileSecurityW hooked: f=8BFF558BEC, m=0F01442488&lt;br /&gt;SetNamedSecurityInfoA hooked, jump to 00191512&lt;br /&gt;SetNamedSecurityInfoExA hooked, jump to 001905E8&lt;br /&gt;SetNamedSecurityInfoExW hooked, jump to 001914DA&lt;br /&gt;SetNamedSecurityInfoW hooked: f=8BFF558BEC, m=F694E4A3FA&lt;br /&gt;SetSecurityInfo hooked: f=8BFF558BEC, m=6686E486C0&lt;br /&gt;SetSecurityInfoExA hooked, jump to 001905FE&lt;br /&gt;  difference at relocated offset 77E23AB1 in SetSecurityInfoExW&lt;br /&gt;StartServiceA hooked, jump to 00190634&lt;br /&gt;StartServiceW hooked, jump to 0019066E&lt;br /&gt;SystemFunction029 hooked: f=8BFF558BEC, m=90FF2C256D&lt;br /&gt;SystemFunction034 hooked: f=8BFF558BEC, m=9065676AAD&lt;br /&gt;SystemFunction035 hooked: f=8BFF558BEC, m=670FA4ED00&lt;br /&gt;SystemFunction040 hooked: f=8BFF558BEC, m=EAF18DDF77&lt;br /&gt;SystemFunction041 hooked: f=8BFF558BEC, m=362E0F8612&lt;br /&gt;UninstallApplication hooked, jump to 00191495&lt;br /&gt;&lt;br /&gt;ole32.dll&lt;br /&gt;CoCreateInstance hooked: f=8BFF558BEC, m=2E9086C0F2&lt;br /&gt;CoCreateInstanceEx hooked: f=8BFF558BEC, m=F28ADB909C&lt;br /&gt;CoGetClassObject hooked: f=8BFF558BEC, m=C1D7009026&lt;br /&gt;CoGetInstanceFromFile hooked: f=8BFF558BEC, m=3666C1D300&lt;br /&gt;  difference at relocated offset 77596327 in CoInstall&lt;br /&gt;CoInstall hooked: f=8BFF558BEC, m=36EA2F6359&lt;br /&gt;CoLoadLibrary hooked, jump to 0019085F&lt;br /&gt;CoRevertToSelf hooked, jump to 00191075&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-1103408600007793215?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/1103408600007793215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=1103408600007793215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/1103408600007793215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/1103408600007793215'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2008/03/im-not-dead-just-busy-more-hips-fun.html' title='I&apos;m not dead.. just busy.. more HIPS FUN..'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-8483829178162604822</id><published>2008-03-04T20:00:00.002-08:00</published><updated>2008-03-04T20:04:51.850-08:00</updated><title type='text'>2008... what's in store?</title><content type='html'>The security game is a game of cat and mouse.  Jedis vs Sith, with Sith usually having the upper hand.  What is going to be the big news this year? Overflows will still rear their heads.. this is a given, but what is going to be the direction for this year?  Web application security seems to be a big issue brought into the light this year.  Sites like MySpace, and Facebook, both of which are constantly undergoing scruitiny, continue to errupt with vulnerabilities.  There is always a trade off when attempting to design software which keeps ease of use in mind.  You don't want to make something too hard, hence the users won't use it, but you don't want to leave it sitting wide open either.   This will definitely be interesting to see how the web arena plays out.  Any other thoughts on vulnerability directions this year?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-8483829178162604822?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/8483829178162604822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=8483829178162604822' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8483829178162604822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8483829178162604822'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2008/03/2008-whats-in-store.html' title='2008... what&apos;s in store?'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-8817010852341801012</id><published>2008-03-04T20:00:00.001-08:00</published><updated>2008-03-04T20:00:49.848-08:00</updated><title type='text'>2008... what</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-8817010852341801012?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/8817010852341801012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=8817010852341801012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8817010852341801012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8817010852341801012'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2008/03/2008-what.html' title='2008... what'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-173271514041654442</id><published>2007-09-05T03:51:00.000-07:00</published><updated>2007-09-05T03:53:17.027-07:00</updated><title type='text'>Security only at layer 7 and above?</title><content type='html'>I recently had a friend who works for an unamed evil empire disclose to me that he and his colleagues are under the assumption that security is no longer an issue in any layer below 7.  I'm going to keep this vaque, but I'm interested to hear the various thoughts from others on this matter.  I don't think the day of the network attack will ever subside completely, but are the days of Layer 3 attack detection long gone?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-173271514041654442?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/173271514041654442/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=173271514041654442' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/173271514041654442'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/173271514041654442'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2007/09/security-only-at-layer-7-and-above.html' title='Security only at layer 7 and above?'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-7525438923110192930</id><published>2007-07-12T15:07:00.001-07:00</published><updated>2007-07-12T15:15:36.103-07:00</updated><title type='text'>Vulnerability Auction Services</title><content type='html'>Lately, it seems, Vulnerability auctions are capturing a lot of news. As a researcher, I'm not quite sure how I feel about them. There are a lot of items to consider.  In the past I've been involved with ZDI, iDefense and  others with regards to vulnerabilities being sold. Vendor based solutions generally handle the responsible disclosure aspect of the issue, including dealing with the vulnerable vendor.  In an auction based scenario, the seller may not have the opportunity to understand who may be purchaing his or her vulnerability. For some researchers knowing the endpoint of the vulnerability may not be an issue. For others ethics may play a part.   It's really an interesting area.. what are the thoughts of the crew out there?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-7525438923110192930?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/7525438923110192930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=7525438923110192930' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/7525438923110192930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/7525438923110192930'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2007/07/vulnerability-auction-services.html' title='Vulnerability Auction Services'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-8702390668167359028</id><published>2007-06-17T09:17:00.000-07:00</published><updated>2007-06-17T09:18:46.545-07:00</updated><title type='text'>I would like to point out...</title><content type='html'>That security through obscurity works well when....... the mother %$#^^^$%## logic board in your  powerbook dies!!!  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/grumble.. grumble...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-8702390668167359028?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/8702390668167359028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=8702390668167359028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8702390668167359028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8702390668167359028'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2007/06/i-would-like-to-point-out.html' title='I would like to point out...'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-1022104128156838079</id><published>2007-06-14T12:13:00.000-07:00</published><updated>2007-06-14T12:19:54.866-07:00</updated><title type='text'>Preparing for Vegas!</title><content type='html'>The majority of the Bastard Labs Crew is confirmed and will be in Las Vegas this year for Blackhat and Defcon.  So if your going to be in town and want to talk exploitation or anything else random drop us a line. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;See ya there!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ri0t&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-1022104128156838079?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/1022104128156838079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=1022104128156838079' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/1022104128156838079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/1022104128156838079'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2007/06/preparing-for-vegas.html' title='Preparing for Vegas!'/><author><name>ri0t</name><uri>http://www.blogger.com/profile/08884559150528455822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-1238090823509400416</id><published>2007-05-17T23:46:00.000-07:00</published><updated>2007-05-17T23:52:22.998-07:00</updated><title type='text'>You are the weakest Link... goodbye!</title><content type='html'>It's pretty apparent that no matter how well you patch a system, or how well you think you've patched a system, passwords are the weakest link for the most part.  Also it's interesting how there always seems to be that ONE host that is left sitting on in the darkest corners of the epic corporate empire, which is still vulnerable to that 1999 exploit lovin.  &lt;br /&gt;&lt;br /&gt;What I find truly interesting is the number of "security" professionals I run across who have some of the lamest passwords I've ever seen.  While I understand how much of a pain the arse it can be to remember complex passwords, to simply use the name of your company followed by a number is irresponsible.  &lt;br /&gt;&lt;br /&gt;there is no real point to this point other than the griping you're reading, it's just something humorous I seem to run across time and time again as I am called in to assess the security posture of different organizations.  &lt;br /&gt;&lt;br /&gt;*NOTE*  I know it's incredibly easy to use rainbowcrack and/or other tools of the trade, but this is made so much easier when accessing the box to pwdump or cachedumpe is made 10x easier by a weak passwords or some 1999 exploit lovin&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-1238090823509400416?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/1238090823509400416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=1238090823509400416' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/1238090823509400416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/1238090823509400416'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2007/05/you-are-weakest-link-goodbye.html' title='You are the weakest Link... goodbye!'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-5149040769693300482</id><published>2007-04-16T12:49:00.000-07:00</published><updated>2007-04-16T13:20:06.817-07:00</updated><title type='text'>Can I take your syscall for you?</title><content type='html'>It seems that for a bit of time now, HIPS products are taking off and being installed in organizations. HIPS is still a relatively young technology with the way technology goes. There are some mature products out on the market, and the features and abilities are ever changing. Lately we here at the BL have been working on HIPS evasion techniques, lots of interesting things to think of, and lots of interesting techniques to try out. Since most HIPS are utilizing hooking techniques, it's fun to see exactly where they hook and what they leave out. Hidden or little utilizes APIS, and/or calls can be fun vectors to look at.&lt;br /&gt;&lt;br /&gt;We'll be posting more here when we finalize our research. Perhaps a neat evasion tool, hrmm, I'll have to check with the ninja monkies on that one..&lt;br /&gt;&lt;br /&gt;[commonly hooked dll]&lt;br /&gt;&lt;br /&gt;ntdll.dll&lt;br /&gt;kernel32.dll&lt;br /&gt;core.dll&lt;br /&gt;ADVAPI32.dll&lt;br /&gt;RPCRT4.dll&lt;br /&gt;NETAPI32.dll&lt;br /&gt;msvcrt.dll&lt;br /&gt;PSAPI.dll&lt;br /&gt;SHLWAPI.dll&lt;br /&gt;GDI32.dll&lt;br /&gt;USER32.dll&lt;br /&gt;MSVCR71.dll&lt;br /&gt;WININET.dll&lt;br /&gt;CRYPT32.dll&lt;br /&gt;MSASN1.dll&lt;br /&gt;OLEAUT32.dll&lt;br /&gt;ol32.dll&lt;br /&gt;msi.dll&lt;br /&gt;urlmon.dll&lt;br /&gt;SHELL32.dll&lt;br /&gt;------ and the list goes on!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-5149040769693300482?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/5149040769693300482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=5149040769693300482' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/5149040769693300482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/5149040769693300482'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2007/04/can-i-take-your-syscall-for-you.html' title='Can I take your syscall for you?'/><author><name>JxT</name><uri>http://www.blogger.com/profile/05502788090300752168</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-8042540332229053962</id><published>2007-04-06T06:39:00.000-07:00</published><updated>2007-04-06T06:41:31.795-07:00</updated><title type='text'>Smashing SEH</title><content type='html'>&lt;div class="entry"&gt; &lt;p&gt;&lt;span class="postbody"&gt;Ok so recently i have been working on a couple of Buffer Overflows where EIP is gained through smashing SEH so here is a quick mini primer on smashing SEH for fun and profit&lt;/span&gt;&lt;/p&gt; &lt;p&gt;So here is the short definition when a win32 program runs it sets on the stack and address of the SEH the program will jmp to this address if there is ever an exception that causes the program to die Thus the reason it is called the Standard Exception Handler.&lt;/p&gt; &lt;p&gt;So on occasion you will have a program that you can overflow the buffer thus overwriting data on the stack but and exception fires during the copy or something else in the data stream causes an exception causing the program to fire the SEH before you get code execution (thats overly simplified but you get the point) So what is a researcher to do? how bout overwrite the address that SEH is pointing to &lt;img alt="Smile" src="http://www.okc2600.com/images/smiles/icon_smile.gif" border="0" /&gt;&lt;/p&gt; &lt;p&gt;So if we overwrite the buffer we will eventualy get to 2 address on the stack the first is the “Pointer to the Next SEH” and then the next address after that is the current SEH so coceptualy our buffer looks somewhat like this&lt;/p&gt; &lt;p&gt;so if we send a buffer and fill the top buffer space with A’s then set the Pointer to the Next SEH to BBBB set the SEH to CCCC and the second buffer space to DDDD our buffer will look something like this (again this is just an example)&lt;/p&gt; &lt;p&gt;AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBCCCCDDDDDDDDDDDDDD&lt;/p&gt; &lt;p&gt;now remember this is just an example in the real world the buffers hopefully will be much bigger &lt;img alt="Smile" src="http://www.okc2600.com/images/smiles/icon_smile.gif" border="0" /&gt;&lt;/p&gt; &lt;p&gt;so when the exception fires what you will see is eip set to CCCC and then 2 addresses down from EBP (stack base pointer) you will see a address that contains this&lt;/p&gt; &lt;p&gt;BBBBCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD&lt;/p&gt; &lt;p&gt;now thats kinda interesting thats our buffer but how do we get to it?&lt;/p&gt; &lt;p&gt;Bring on the pop pop ret &lt;img alt="Smile" src="http://www.okc2600.com/images/smiles/icon_smile.gif" border="0" /&gt;. If we can set the SEH to an opcode that contains a Pop Pop Ret when it fires it should pop 2 addresses off the stack and return into our buffer. ok so now we can get into the buffer but how do we get to shellcode from here? after all the buffer doesnt just contain our shellcode of DDDDDD it also contains BBBB and CCCC so what are we to do? Well up until this point we havnt used the Pointer To the Next SEH address for anything (the BBBB space) so what we do is we set BBBB to \xEB\x06\xFF\xFF what is \xEB\x06? in assembly it is Jmp Short 6 bytes so when we pop pop ret into this space the execution flow will hit this jump over our CCCC return address directly into our DDDDDDDD shellcode &lt;img alt="Smile" src="http://www.okc2600.com/images/smiles/icon_smile.gif" border="0" /&gt; YaY!!!!&lt;/p&gt; &lt;p&gt;so now we have code execution by Busting the SEH on win32 programs&lt;/p&gt; &lt;p&gt;Some things to think about….&lt;/p&gt; &lt;p&gt;The buffer space after the return address may be to small for a full payload which means we may have to use a staged payload that jumps back into our main buffer&lt;/p&gt; &lt;p&gt;In windows XP sp2 microsoft introduced SafeSEH which limits where the SEH can point to. this can be overcome by pointing back into the binary itself for a pop pop ret provided the binary hasnt also been compiled with /SafeSEH&lt;/p&gt; &lt;p&gt;Just some things to think about and mabey get the brain juices flowing &lt;/p&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-8042540332229053962?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/8042540332229053962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=8042540332229053962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8042540332229053962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8042540332229053962'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2007/04/smashing-seh.html' title='Smashing SEH'/><author><name>ri0t</name><uri>http://www.blogger.com/profile/08884559150528455822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2507480728943936117.post-8433068329024314215</id><published>2007-04-05T14:57:00.000-07:00</published><updated>2007-04-05T14:58:18.446-07:00</updated><title type='text'>Welcome to the Bastard Labs Security Research Blog</title><content type='html'>Fear the Bastards got a blog :P more to come&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2507480728943936117-8433068329024314215?l=bastardlabs.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bastardlabs.blogspot.com/feeds/8433068329024314215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2507480728943936117&amp;postID=8433068329024314215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8433068329024314215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2507480728943936117/posts/default/8433068329024314215'/><link rel='alternate' type='text/html' href='http://bastardlabs.blogspot.com/2007/04/welcome-to-bastard-labs-security.html' title='Welcome to the Bastard Labs Security Research Blog'/><author><name>ri0t</name><uri>http://www.blogger.com/profile/08884559150528455822</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
