Changeset 1492

Show
Ignore:
Timestamp:
12/13/07 15:48:15 (9 months ago)
Author:
jose
Message:

HP Info 1.x ActiveX exploits
via http://www.anspi.pl/~porkythepig/hp-issue/kilokieubasy.txt

detection, example code

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • phoneyc/trunk/ActiveX.py

    r1480 r1492  
    2828        self.clsid['5D86DDB5-BDF9-441B-9E9E-D4730F4EE499'] = BitDefender() 
    2929        self.clsid['E23FE9C6-778E-49D4-B537-38FCDE4887D8'] = VLC() 
     30        self.clsid['62DDEB79-15B2-41E3-8834-D3B80493887A'] = HPInfo() 
    3031 
    3132        self.clsname = {} 
     
    3738        self.clsname['IERPCTL.IERPCTL'] = RealPlayer() 
    3839        self.clsname['IERPCTL.IERPCTL.1'] = RealPlayer() 
     40        self.clsname['HPInfoDLL.HPInfo.1'] = HPInfo() 
    3941 
    4042        # set up the pure JScript version 
     
    199201        self.cve_id = ('CVE-NOMATCH', ) 
    200202        self.description = 'VLC ActiveX Control' 
     203 
     204class HPInfo(ActiveX): 
     205    def __init__(self): 
     206        self.js_src = self.load_js_src('HPInfo.js') 
     207        self.classname = 'HPInfo' 
     208        self.cve_id = ('CVE-NOMATCH', ) 
     209        self.description = 'HP Info Center ActiveX Control' 
  • phoneyc/trunk/honeyclient.py

    r1484 r1492  
    572572                elif self.vbs_inScript: 
    573573                    if v not in self.vbs_script_srcs: self.vbs_script_srcs.append(v) 
     574        # force a newline before the next script body 
     575        self.js_body.append('\n') 
     576        self.vbs_body.append('\n') 
    574577        # when in a script body, set literal to be True. this is because 
    575578        # SGML parsers will intercept things like foo<bar and '<v:rect'