기술문서 : NCHOVY 인터넷 스톰 센터 http://nchovy.kr/forum/3 xeraph@nchovy.kr ko 기술문서 : NCHOVY 인터넷 스톰 센터 ASP 웹쉘 상세 분석 및 탐지 방안 (KrCERT) xeraph http://nchovy.kr/forum/3/article/517 http://nchovy.kr/forum/3/article/517 Sun, 17 Jan 2010 13:23:12 +0900 Sun, 17 Jan 2010 13:23:12 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>2008년 5월에 발간된 인터넷 침해사고 동향 및 분석 월보에 포함되어 있던 내용입니다.</p></div> 악성문서 분석 요점 정리 xeraph http://nchovy.kr/forum/3/article/513 http://nchovy.kr/forum/3/article/513 Mon, 14 Dec 2009 02:07:30 +0900 Mon, 14 Dec 2009 02:07:30 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>원본은 zeltser.com의 <a title="Analyzing Malicious Documents Cheat Sheet" href="http://zeltser.com/reverse-malware/analyzing-malicious-documents.html">Analyzing Malicious Documents Cheat Sheet</a> 입니다.</p> <p>NCHOVY 인터넷 스톰 센터에서 번역하고, 라이센스는 원본 그대로 CCL 저작자표시 3.0 하에 배포합니다.</p> <p>재배포 가능하지만 이후에도 조금씩 번역 오류가 수정될 가능성이 있으므로, 가급적 이 게시물에 링크를 걸어주시길 부탁드립니다.</p></div> TLS/SSLv3 취약점 분석 xeraph http://nchovy.kr/forum/3/article/510 http://nchovy.kr/forum/3/article/510 Sun, 15 Nov 2009 23:42:25 +0900 Sun, 15 Nov 2009 23:42:25 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>TLS and SSLv3 vulnerabilities explained</p> <p>Thierry ZOLLER<br />Principal Security Consultant<br />contact@g-sec.lu</p> <p><strong>Synopsis</strong></p> <p>Around the 09/11/2009 Marsh Ray, Steve Dispensa and Martin Rex published details1 about a vulnerability affecting the renegotiation phase of the TLS &amp; SSLv3 protocol. The vulnerability is being tracked under <a title="CVE-2009-35552" href="http://nchovy.kr/security/cve/CVE-2009-35552">CVE-2009-35552</a> | VU#1205413 and affects a multitude of platforms and protocols, the impact of this vulnerability varies from protocol to protocol and research into those is currently ongoing.</p> <p>When speaking of a “Man in the Middle” attack, it is often assumed that data can be altered or changed. Indeed an attacker that sits in the middle of a connection (hence it’s name) is often able to do so. In this particular case however the attacker piggybacks an existing authenticated and encrypted TLS sessions in order to (prefix) inject arbitrary text of its choice. The attacker may not read/alter the other TLS session between the “client” and the “server”. See Chapter 3 - “Example of an attack scenario...” for more details</p> <p>This paper explains the vulnerability for a broader audience and summarizes the information that is currently available. The document is prone to updates and is believed to be accurate by the time of writing.</p></div> HITB2009 발표 자료 모음 xeraph http://nchovy.kr/forum/3/article/506 http://nchovy.kr/forum/3/article/506 Mon, 09 Nov 2009 12:04:44 +0900 Mon, 09 Nov 2009 12:04:44 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Day 1 Track 1</strong></p> <ul><li><a title="Nishad Herath - How Low Will Malware Go" href="http://nchovy.kr/uploads/3/506/D1T1%20-%20Nishad%20Herath%20-%20How%20Low%20Will%20Malware%20Go.pdf">Nishad Herath - How Low Will Malware Go</a></li> <li><a title="Paul Thierault - Browser Ghosting Attacks" href="http://nchovy.kr/uploads/3/506/D1T1%20-%20Paul%20Thierault%20-%20Browser%20Ghosting%20Attacks.pdf">Paul Thierault - Browser Ghosting Attacks</a></li> <li><a title="Tavis Ormandy - Making Software Dumber" href="http://nchovy.kr/uploads/3/506/D1T1%20-%20Tavis%20Ormandy%20-%20Making%20Software%20Dumber.pdf">Tavis Ormandy - Making Software Dumber</a></li> </ul><p><strong>Day 1 Track 2</strong></p> <ul><li><a title="Alex Kuza55 K - Implementing and Improving Blind TCP" href="http://nchovy.kr/uploads/3/506/D1T2%20-%20Alex%20Kuza55%20K%20-%20Implementing%20and%20Improving%20Blind%20TCP.pdf">Alex Kuza55 K - Implementing and Improving Blind TCP</a></li> <li><a title="Alexander Gazet and Yoann Guillot - Defeating Software Protection with Metasm" href="http://nchovy.kr/uploads/3/506/D1T2%20-%20Alexander%20Gazet%20and%20Yoann%20Guillot%20-%20Defeating%20Software%20Protection%20with%20Metasm.pdf">Alexander Gazet and Yoann Guillot - Defeating Software Protection with Metasm</a></li> <li><a title="Mark Dowd - Attacking Interoperability" href="http://nchovy.kr/uploads/3/506/D1T2%20-%20Mark%20Dowd%20-%20Attacking%20Interoperability.pdf">Mark Dowd - Attacking Interoperability</a></li> <li><a title="Nguyen Anh Quynh - eKimono" href="http://nchovy.kr/uploads/3/506/D1T2%20-%20Nguyen%20Anh%20Quynh%20-%20eKimono%20.pdf">Nguyen Anh Quynh - eKimono</a></li> <li><a title="Sheran Gunasekera - Bugs and Kisses - Spying on Blackberry Users" href="http://nchovy.kr/uploads/3/506/D1T2%20-%20Sheran%20Gunasekera%20-%20Bugs%20and%20Kisses%20-%20Spying%20on%20Blackberry%20Users.pdf">Sheran Gunasekera - Bugs and Kisses - Spying on Blackberry Users</a></li> </ul><p><strong>Day 1 Track 3</strong></p> <ul><li><a title="Andrea Barisani and Daniele Bianco - TEMPEST LAB" href="http://nchovy.kr/uploads/3/506/D1T3%20-%20Andrea%20Barisani%20and%20Daniele%20Bianco%20-%20TEMPEST%20LAB.pdf">Andrea Barisani and Daniele Bianco - TEMPEST LAB</a></li> </ul><p><strong>Day 2 Track 1</strong></p> <ul><li><a title="Bruno Goncalves - Hacking from the Restroom" href="http://nchovy.kr/uploads/3/506/D2T1%20-%20Bruno%20Goncalves%20-%20Hacking%20from%20the%20Restroom.pdf">Bruno Goncalves - Hacking from the Restroom</a></li> <li><a title="Chris Evans and Julien Tinnes - Security Indepth for Linux Software" href="http://nchovy.kr/uploads/3/506/D2T1%20-%20Chris%20Evans%20and%20Julien%20Tinnes%20-%20Security%20Indepth%20for%20Linux%20Software.pdf">Chris Evans and Julien Tinnes - Security Indepth for Linux Software</a></li> <li><a title="Frederic Raynal - PDF Origami Strikes Back" href="http://nchovy.kr/uploads/3/506/D2T1%20-%20Frederic%20Raynal%20-%20PDF%20Origami%20Strikes%20Back.pdf">Frederic Raynal - PDF Origami Strikes Back</a></li> <li><a title="Job De Haas - Side Channel Analysis" href="http://nchovy.kr/uploads/3/506/D2T1%20-%20Job%20De%20Haas%20-%20Side%20Channel%20Analysis.pdf">Job De Haas - Side Channel Analysis</a></li> <li><a title="Saumil Shah - How to Own the World - One Desktop at a Time" href="http://nchovy.kr/uploads/3/506/D2T1%20-%20Saumil%20Shah%20-%20How%20to%20Own%20the%20World%20-%20One%20Desktop%20at%20a%20Time.pdf">Saumil Shah - How to Own the World - One Desktop at a Time</a></li> </ul><p><strong>Day 2 Track 2</strong></p> <ul><li><a title="Dimitri Petropoulos - Having Fun with ATMs &amp; HSMs" href="http://nchovy.kr/uploads/3/506/D2T2%20-%20Dimitri%20Petropoulos%20-%20Having%20Fun%20with%20ATMs%20&amp;%20HSMs.pdf">Dimitri Petropoulos - Having Fun with ATMs &amp; HSMs</a></li> <li><a title="Lucas Adamski - Freeing Sisyphus" href="http://nchovy.kr/uploads/3/506/D2T2%20-%20Lucas%20Adamski%20-%20Freeing%20Sisyphus.pdf">Lucas Adamski - Freeing Sisyphus</a></li> <li><a title="MARES - APRS - HAM Radio" href="http://nchovy.kr/uploads/3/506/D2T2%20-%20MARES%20-%20APRS%20-%20HAM%20Radio.pdf">MARES - APRS - HAM Radio</a></li> </ul></div> HMM을 이용한 스팸 분석 xeraph http://nchovy.kr/forum/3/article/503 http://nchovy.kr/forum/3/article/503 Tue, 03 Nov 2009 10:25:21 +0900 Tue, 03 Nov 2009 10:25:21 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Spam Deobfuscation using a Hidden Markov Model</strong></p> <p>Abstract</p> <p>To circumvent spam filters, many spammers attempt to obfuscate their emails by deliberately misspelling words or introducing other errors into the text. For example viagra may be written vigra, or mortgage written m0rt gage. Even though humans have little difficulty reading obfuscated emails, most content-based filters are unable to recognize these obfuscated spam words. In this paper, we present a hidden Markov model for deobfuscating spam emails. We empirically demonstrate that our model is robust to many types of obfuscation including misspellings, incorrect segmentations (adding/removing spaces), and substitutions/insertions of non-alphabetic characters.</p></div> 개선된 DFA를 이용한 고속 정규표현식 매칭 xeraph http://nchovy.kr/forum/3/article/497 http://nchovy.kr/forum/3/article/497 Tue, 06 Oct 2009 03:13:26 +0900 Tue, 06 Oct 2009 03:13:26 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>An Improved DFA for Fast Regular Expression Matching</strong></p> <p>Domenico Ficara (domenico.ficara@iet.unipi.it)<br />Stefano Giordano (s.giordano@iet.unipi.it)<br />Gregorio Procissi (g.procissi@iet.unipi.it)<br />Fabio Vitucci (fabio.vitucci@iet.unipi.it)<br />Gianni Antichi (gianni.antichi@iet.unipi.it)<br />Andrea Di Pietro (andrea.dipietro@iet.unipi.it)</p> <p>Department of Information Engineering, University of Pisa<br />via G.Caruso 16, Pisa, ITALY</p> <p><strong>ABSTRACT</strong></p> <p>Modern network devices need to perform deep packet inspection at high speed for security and application-specifi c services. Finite Automata (FAs) are used to implement regular expressions matching, but they require a large amount of memory. Many recent works have proposed improvements to address this issue.</p> <p>This paper presents a new representation for deterministic nite automata (orthogonal to previous solutions), called Delta Finite Automata (dFA), which considerably reduces states and transitions and requires a transition per character only, thus allowing fast matching. Moreover, a new state encoding scheme is proposed and the comprehensive algorithm is tested for use in the packet classi cation area.</p></div> 윈도우 커널모드 페이로드 xeraph http://nchovy.kr/forum/3/article/496 http://nchovy.kr/forum/3/article/496 Fri, 02 Oct 2009 12:34:07 +0900 Fri, 02 Oct 2009 12:34:07 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>Kernel-mode Payloads on Windows</p> <p>bugcheck (chris@bugcheck.org)<br />skape (mmiller@hick.org)</p> <p>1. Foreword<br /><br />2. Introduction <br /><br />3. General Techniques <br />3.1 Finding Ntoskrnl.exe Base Address<br />3.1.1 IDT Scandown<br />3.1.2 KPRCB IdleThread Scandown<br />3.1.3 SYSENTER EIP MSR Scandown<br />3.1.4 Known Portable Base Scandown<br />3.2 Resolving Symbols<br /><br />4. Payload Components<br />4.1 Migration<br />4.1.1 Direct IRQL Adjustment<br />4.1.2 System Call MSR/IDT Hooking<br />4.1.3 Thread Notify Routine<br />4.1.4 Hooking Object Type Initializer Procedures<br />4.1.5 Hooking KfRaiseIrql<br />4.2 Stagers<br />4.2.1 System Call Return Address Overwrite<br />4.2.2 Thread APC<br />4.2.3 User-mode Function Pointer Hook<br />4.2.4 SharedUserData SystemCall Hook<br />4.3 Recovery<br />4.3.1 Thread Spinning<br />4.3.2 Throwing an Exception<br />4.3.3 Thread Restart<br />4.3.4 Lock Release<br />4.4 Stages<br /><br />5. Conclusion</p></div> 기업 VoIP 트래픽 모니터링 xeraph http://nchovy.kr/forum/3/article/495 http://nchovy.kr/forum/3/article/495 Sun, 27 Sep 2009 13:31:19 +0900 Sun, 27 Sep 2009 13:31:19 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>Current IP-based real-time communication services have put into trouble traditional network monitoring paradigms and have imposed some additional requirements to network monitoring applications. The aim of this thesis is to demonstrate that the increased complexity of network monitoring can be managed with relatively little effort if the appropriate software instruments<br />are used. In particular, by using a proper software framework it is possible to produce complex and efficient monitoring applications that are not affected by common problems such as having a monolithic architecture or being difficult to extend.</p> <p>This chapter introduces the issues addressed in this thesis and explains why the VoIP service has been chosen as the reference monitoring field. Additionally the requirements and the scope of this thesis are identified.</p></div> 멀티코어 시스템을 이용한 트래픽 분석 xeraph http://nchovy.kr/forum/3/article/494 http://nchovy.kr/forum/3/article/494 Sun, 27 Sep 2009 12:58:58 +0900 Sun, 27 Sep 2009 12:58:58 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Exploiting Commodity Multicore Systems for Network Traffic Analysis</strong></p> <p>Luca Deri<br />ntop, Pisa, Italy, Email: deri@ntop.org<br />Francesco Fusco<br />IBM Zurich Research Laboratory, Rüschlikon, Switzerland, Email: ffu@zurich.ibm.com</p> <p>Abstract—The current trend in computer processors is towards multicore systems. Although operating systems have been adapted long time ago to support multi-processing, kernel<br />network layers have not yet taken advantage of this new technology. The result is that packet capture, the cornerstone of every network monitoring application, is not efficient on modern<br />system and its performance gets worse with the number of cores.</p> <p>This paper describes common pitfalls of network monitoring applications when used with multicore systems, and presents solutions to these problems. In addition, it covers the design and implementation of a new multicore-aware packet capture kernel module that enables monitoring applications to scale with the number of cores, contrary to what happens in most operating systems.</p> <p>Keywords: Passive packet capture, multicore processors, traffic monitoring, Linux kernel.</p></div> 방화벽 로그를 이용한 침입탐지기법 연구 xeraph http://nchovy.kr/forum/3/article/492 http://nchovy.kr/forum/3/article/492 Tue, 22 Sep 2009 13:40:40 +0900 Tue, 22 Sep 2009 13:40:40 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>2006년 논문 자료</p> <p>방화벽 로그를 이용한 침입탐지기법 연구<br />윤 성 종*․김 정 호**</p> <p>A Study on the Intrusion Detection Method using Firewall Log<br />Sung-Jong Yoon*․Jeong-Ho Kim**</p> <p><strong>Abstract</strong><br />According to supply of super high way internet service, importance of security becomes more<br />emphasizing. Therefore, flawless security solution is needed for blocking information outflow when we send or receive data. Large enterprise and public organizations can react to this problem, however, small organization with limited work force and capital can't. Therefore they need to elevate their level of information security by improving their information security system without additional money. No hackings can be done without passing invasion blocking system which installed at the very front of network. Therefore, if we manage isolation log effective, we can recognize hacking trial at the step of pre-detection. In this paper, it supports information security manager to execute isolation log analysis very effectively. It also provides isolation log analysis module which notifies hacking attack by analyzing isolation log.</p> <p><strong>Keywords</strong>:Firewall, Intrusion Detection System, Hacking</p></div> 개인정보의 기술적·관리적 보호조치 기준 해설서 xeraph http://nchovy.kr/forum/3/article/490 http://nchovy.kr/forum/3/article/490 Fri, 18 Sep 2009 02:03:16 +0900 Fri, 18 Sep 2009 02:03:16 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>개요</strong> 05<br />1. 제∙개정의 배경 06<br />2. 기준의 법적 성격 07</p> <p><strong>개인정보의 기술적∙관리적 보호조치 기준</strong> 11</p> <p><strong>조문별 기준 해설</strong> 19<br />1. 목적 20<br />2. 정의 25<br />3. 내부관리계획의 수립∙시행 31<br />4. 접근통제 44<br />5. 접속기록의 위∙변조 방지 56<br />6. 개인정보의 암호화 59<br />7. 악성프로그램 방지 65<br />8. 출력∙복사시 보호조치 68<br />9. 개인정보 표시제한 보호조치 76</p></div> OWASP Testing Guide 2008 xeraph http://nchovy.kr/forum/3/article/487 http://nchovy.kr/forum/3/article/487 Sun, 06 Sep 2009 02:46:17 +0900 Sun, 06 Sep 2009 02:46:17 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>OWASP TESTING GUIDE<br />2008 V3.0</p> <p></p></div> A Practical Message Falsi cation Attack on WPA xeraph http://nchovy.kr/forum/3/article/484 http://nchovy.kr/forum/3/article/484 Sun, 30 Aug 2009 01:32:53 +0900 Sun, 30 Aug 2009 01:32:53 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>A Practical Message Falsi cation Attack on WPA</strong></p> <p>Toshihiro Ohigashi and Masakatu Morii<br />ohigashi@hiroshima-u.ac.jp<br />mmorii@kobe-u.ac.jp</p> <p><strong>Abstract</strong>. In 2008, Beck and Tews have proposed a practical attack on WPA. Their attack (called the Beck-Tews attack) can recover plaintext from an encrypted short packet, and can falsify it. The execution time of the Beck-Tews attack is about 12-15 minutes. However, the attack has the limitation, namely, the targets are only WPA implementations those support IEEE802.11e QoS features. In this paper, we propose a practical message falsi cation attack on any WPA implementation. In order to ease targets of limitation of wireless LAN products, we apply the Beck-Tews attack to the man-in-the-middle attack. In the man-in-the-middle attack, the user's communication is intercepted by an attacker until the attack ends. It means that the users may detect our attack when the execution time of the attack is large. Therefore, we give methods for reducing the execution time of the attack. As a result, the execution time of our attack becomes about one minute in the best case.</p> <p><strong>Keywords</strong> WPA, TKIP, falsification attack, man-in-the-middle attack</p></div> 힙 스프레이 xeraph http://nchovy.kr/forum/3/article/479 http://nchovy.kr/forum/3/article/479 Sat, 15 Aug 2009 17:56:36 +0900 Sat, 15 Aug 2009 17:56:36 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>Heap Spray</p> <p>Hacking Group “OVERTIME”<br />force&lt; forceteam01@gmail.com &gt; 2007.05.13</p></div> Heap Cache Exploitation xeraph http://nchovy.kr/forum/3/article/477 http://nchovy.kr/forum/3/article/477 Mon, 10 Aug 2009 11:14:47 +0900 Mon, 10 Aug 2009 11:14:47 +0900 <div xmlns="http://www.w3.org/1999/xhtml"><p>Heap Cache Exploitation - White Paper by IBM Internet Security Systems </p> <p>Written by John McDonald</p></div>