mirror of https://github.com/MISP/PyMISP
remove category
It will be automaticly detected https://github.com/MISP/PyMISP/blob/master/pymisp/tools/openioc.pypull/82/head
parent
6548ed6e6f
commit
2267e8a97b
|
@ -22,7 +22,7 @@ iocMispMapping = {
|
||||||
'DriverItem/DeviceItem/AttachedDeviceName' : {'category': 'Artifacts dropped','type': 'other', 'comment': 'DriverDeviceName. '},
|
'DriverItem/DeviceItem/AttachedDeviceName' : {'category': 'Artifacts dropped','type': 'other', 'comment': 'DriverDeviceName. '},
|
||||||
|
|
||||||
'DnsEntryItem/Host': {'type': 'domain'},
|
'DnsEntryItem/Host': {'type': 'domain'},
|
||||||
'DnsEntryItem/RecordName' : {'category': 'Network activity','type': 'domain'},
|
'DnsEntryItem/RecordName' : {'type': 'domain'},
|
||||||
|
|
||||||
'Email/To': {'type': 'target-email'},
|
'Email/To': {'type': 'target-email'},
|
||||||
'Email/Date': {'type': 'comment', 'comment': 'EmailDate.'},
|
'Email/Date': {'type': 'comment', 'comment': 'EmailDate.'},
|
||||||
|
@ -31,118 +31,118 @@ iocMispMapping = {
|
||||||
'Email/Subject': {'type': 'email-subject'},
|
'Email/Subject': {'type': 'email-subject'},
|
||||||
'Email/Attachment/Name': {'type': 'email-attachment'},
|
'Email/Attachment/Name': {'type': 'email-attachment'},
|
||||||
|
|
||||||
'FileItem/Md5sum' : {'category': 'External analysis','type': 'md5'},
|
'FileItem/Md5sum' : {'type': 'md5'},
|
||||||
'FileItem/Sha1sum' : {'category': 'External analysis','type': 'sha1'},
|
'FileItem/Sha1sum' : {'type': 'sha1'},
|
||||||
'FileItem/FileName' : {'category': 'External analysis','type': 'filename'},
|
'FileItem/FileName' : {'type': 'filename'},
|
||||||
'FileItem/FullPath' : {'category': 'External analysis','type': 'filename'},
|
'FileItem/FullPath' : {'type': 'filename'},
|
||||||
'FileItem/FilePath' : {'category': 'External analysis','type': 'filename'},
|
'FileItem/FilePath' : {'type': 'filename'},
|
||||||
'FileItem/Sha256sum' : {'category': 'External analysis','type': 'sha256'},
|
'FileItem/Sha256sum' : {'type': 'sha256'},
|
||||||
'FileItem/DevicePath' : {'category': 'External analysis','type': 'comment', 'comment': 'DevicePath. '},
|
'FileItem/DevicePath' : {'type': 'comment', 'comment': 'DevicePath. '},
|
||||||
'FileItem/SizeInBytes' : {'category': 'Artifacts dropped','type': 'size-in-bytes'},
|
'FileItem/SizeInBytes' : {'type': 'size-in-bytes'},
|
||||||
'FileItem/PEInfo/Type' : {'category': 'External analysis','type': 'comment','comment': 'Type. '},
|
'FileItem/PEInfo/Type' : {'type': 'comment','comment': 'PE Type. '},
|
||||||
'FileItem/FileExtension' : {'category': 'External analysis','type': 'comment','comment': 'FileExtension. '},
|
'FileItem/FileExtension' : {'type': 'comment','comment': 'FileExtension. '},
|
||||||
'FileItem/FilenameCreated' : {'category': 'External analysis','type': 'filename', 'comment': 'FilenameCreated. '},
|
'FileItem/FilenameCreated' : {'type': 'filename', 'comment': 'FilenameCreated. '},
|
||||||
'FileItem/StringList/string' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'string list. '},
|
'FileItem/StringList/string' : {'type': 'pattern-in-file', 'comment': 'string list. '},
|
||||||
'FileItem/PEInfo/PETimeStamp' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'TimeStamp. '},
|
'FileItem/PEInfo/PETimeStamp' : {'type': 'pattern-in-file', 'comment': 'PE TimeStamp. '},
|
||||||
'FileItem/PEInfo/Exports/DllName' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'DllName. '},
|
'FileItem/PEInfo/Exports/DllName' : {'type': 'pattern-in-memory', 'comment': 'PE export DllName. '},
|
||||||
'FileItem/PEInfo/Sections/Section/Name' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'SectionName. '},
|
'FileItem/PEInfo/Sections/Section/Name' : {'type': 'pattern-in-memory', 'comment': 'PE SectionName. '},
|
||||||
'FileItem/PEInfo/DetectedAnomalies/string' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'AnomaliesString. '},
|
'FileItem/PEInfo/DetectedAnomalies/string' : {'type': 'pattern-in-file', 'comment': 'PE DEtected AnomaliesString. '},
|
||||||
'FileItem/PEInfo/Exports/NumberOfFunctions' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'NumberOfFunctions. '},
|
'FileItem/PEInfo/Exports/NumberOfFunctions' : {'type': 'pattern-in-file', 'comment': 'PE Export NumberOfFunctions. '},
|
||||||
'FileItem/PEInfo/ImportedModules/Module/Name' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'ImportedModulesName. '},
|
'FileItem/PEInfo/ImportedModules/Module/Name' : {'type': 'pattern-in-file', 'comment': 'PE ImportedModulesName. '},
|
||||||
'FileItem/PEInfo/DigitalSignature/Description' : {'category': 'External analysis','type': 'comment', 'comment': 'PEDigitalSignatureDescription. '},
|
'FileItem/PEInfo/DigitalSignature/Description' : {'type': 'comment', 'comment': 'PE DigitalSignatureDescription. '},
|
||||||
'FileItem/PEInfo/DigitalSignature/SignatureExists' : {'category': 'External analysis','type': 'comment','comment': 'SignatureExists. '},
|
'FileItem/PEInfo/DigitalSignature/SignatureExists' : {'type': 'comment','comment': 'PE SignatureExists. '},
|
||||||
'FileItem/PEInfo/Exports/ExportedFunctions/string' : {'category': 'External analysis','type': 'comment', 'comment': 'ExportedFunctions. '},
|
'FileItem/PEInfo/Exports/ExportedFunctions/string' : {'type': 'comment', 'comment': 'PE ExportedFunctions. '},
|
||||||
'FileItem/PEInfo/DigitalSignature/CertificateIssuer' : {'category': 'External analysis','type': 'comment', 'comment': 'SignatureCertificateIssuer. '},
|
'FileItem/PEInfo/DigitalSignature/CertificateIssuer' : {'type': 'comment', 'comment': 'PE SignatureCertificateIssuer. '},
|
||||||
'FileItem/PEInfo/DigitalSignature/SignatureVerified' : {'category': 'External analysis','type': 'comment', 'comment': 'SignatureVerified. '},
|
'FileItem/PEInfo/DigitalSignature/SignatureVerified' : {'type': 'comment', 'comment': 'PE SignatureVerified. '},
|
||||||
'FileItem/PEInfo/DigitalSignature/CertificateSubject' : {'category': 'External analysis','type': 'other', 'comment': 'CertificateDigitalSignatureSubject. '},
|
'FileItem/PEInfo/DigitalSignature/CertificateSubject' : {'type': 'other', 'comment': 'PE CertificateDigitalSignatureSubject. '},
|
||||||
'FileItem/PEInfo/ResourceInfoList/ResourceInfoItem/Name' : {'category': 'External analysis','type': 'comment', 'comment': 'PEResourceName. '},
|
'FileItem/PEInfo/ResourceInfoList/ResourceInfoItem/Name' : {'type': 'comment', 'comment': 'PE ResourceName. '},
|
||||||
'FileItem/PEInfo/ResourceInfoList/ResourceInfoItem/Type' : {'category': 'External analysis','type': 'comment', 'comment': 'PEResourceType. '},
|
'FileItem/PEInfo/ResourceInfoList/ResourceInfoItem/Type' : {'type': 'comment', 'comment': 'PE ResourceType. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/Language' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'PELanguageVersion. '},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/Language' : {'type': 'pattern-in-file', 'comment': 'PE LanguageVersion. '},
|
||||||
'FileItem/PEInfo/ResourceInfoList/ResourceInfoItem/Language' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'PELanguageResource. '},
|
'FileItem/PEInfo/ResourceInfoList/ResourceInfoItem/Language' : {'type': 'pattern-in-file', 'comment': 'PE LanguageResource. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/CompanyName' : {'category': 'External analysis','type': 'pattern-in-file','comment': 'CompanyName. '},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/CompanyName' : {'type': 'pattern-in-file','comment': 'PE versionInfo CompanyName. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/FileVersion' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'PEVersion. '},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/FileVersion' : {'type': 'pattern-in-file', 'comment': 'PE Version. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/ProductName' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'ProductName. '},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/ProductName' : {'type': 'pattern-in-file', 'comment': 'PE ProductName. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/InternalName' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'InternalName. '},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/InternalName' : {'type': 'pattern-in-file', 'comment': 'PE InternalName. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/LegalCopyright' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'LegalCopyright. '},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/LegalCopyright' : {'type': 'pattern-in-file', 'comment': 'PE LegalCopyright. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/ProductVersion' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'ProductVersion. '},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/ProductVersion' : {'type': 'pattern-in-file', 'comment': 'PE ProductVersion. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/FileDescription' : {'category': 'External analysis','type': 'comment', 'comment': 'FileDescription .'},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/FileDescription' : {'type': 'comment', 'comment': 'PE FileDescription .'},
|
||||||
'FileItem/PEInfo/ImportedModules/Module/ImportedFunctions/string' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'ImportedModules. '},
|
'FileItem/PEInfo/ImportedModules/Module/ImportedFunctions/string' : {'type': 'pattern-in-file', 'comment': 'PE ImportedModules. '},
|
||||||
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/OriginalFilename' : {'category': 'External analysis','type': 'pattern-in-file', 'comment': 'OriginalFilename. '},
|
'FileItem/PEInfo/VersionInfoList/VersionInfoItem/OriginalFilename' : {'type': 'pattern-in-file', 'comment': 'OriginalFilename of PE. '},
|
||||||
|
|
||||||
'FormHistoryItem/HostName': {'type': 'hostname', 'comment': 'FormHistory. '},
|
'FormHistoryItem/HostName': {'type': 'hostname', 'comment': 'FormHistory. '},
|
||||||
|
|
||||||
'Network/URI' : {'category': 'Network activity','type': 'uri'},
|
'Network/URI' : {'type': 'uri'},
|
||||||
'Network/DNS' : {'category': 'Network activity','type': 'domain'},
|
'Network/DNS' : {'type': 'domain'},
|
||||||
'Network/String' : {'category': 'Network activity','type': 'url'},
|
'Network/String' : {'type': 'url'},
|
||||||
'Network/IPRange' : {'category': 'Network activity','type': 'ip-dst'},
|
'Network/IPRange' : {'type': 'ip-dst'},
|
||||||
'Network/UserAgent' : {'category': 'Network activity','type': 'user-agent'},
|
'Network/UserAgent' : {'type': 'user-agent'},
|
||||||
|
|
||||||
'PortItem/localIP' : {'category': 'Network activity','type': 'ip-src'},
|
'PortItem/localIP' : {'type': 'ip-src'},
|
||||||
'PortItem/remoteIP' : {'category': 'Network activity','type': 'ip-dst'},
|
'PortItem/remoteIP' : {'type': 'ip-dst'},
|
||||||
'PortItem/remotePort' : {'category': 'Network activity','type': 'pattern-in-traffic', 'comment': 'RemotePort. '},
|
'PortItem/remotePort' : {'type': 'pattern-in-traffic', 'comment': 'RemotePort. '},
|
||||||
|
|
||||||
'ProcessItem/name' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessName. '},
|
'ProcessItem/name' : {'type': 'pattern-in-memory', 'comment': 'ProcessName. '},
|
||||||
'ProcessItem/path' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessPath. '},
|
'ProcessItem/path' : {'type': 'pattern-in-memory', 'comment': 'ProcessPath. '},
|
||||||
'ProcessItem/Mutex' : {'category': 'Artifacts dropped','type': 'mutex', 'comment': 'mutex'},
|
'ProcessItem/Mutex' : {'type': 'mutex', 'comment': 'mutex'},
|
||||||
'ProcessItem/arguments' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessArguments. '},
|
'ProcessItem/arguments' : {'type': 'pattern-in-memory', 'comment': 'ProcessArguments. '},
|
||||||
'ProcessItem/NamedPipe' : {'category': 'Artifacts dropped','type': 'named pipe'},
|
'ProcessItem/NamedPipe' : {'type': 'named pipe'},
|
||||||
'ProcessItem/Pipe/Name' : {'category': 'Artifacts dropped','type': 'named pipe'},
|
'ProcessItem/Pipe/Name' : {'type': 'named pipe'},
|
||||||
'ProcessItem/Mutex/Name' : {'category': 'Artifacts dropped','type': 'mutex', 'comment': 'MutexName. '},
|
'ProcessItem/Mutex/Name' : {'type': 'mutex', 'comment': 'MutexName. '},
|
||||||
'ProcessItem/Event/Name' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessName. '},
|
'ProcessItem/Event/Name' : {'type': 'pattern-in-memory', 'comment': 'ProcessEventName. '},
|
||||||
'ProcessItem/StringList/string' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessStringList. '},
|
'ProcessItem/StringList/string' : {'type': 'pattern-in-memory', 'comment': 'StringlistName. '},
|
||||||
'ProcessItem/HandleList/Handle/Name' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessHandleListName'},
|
'ProcessItem/HandleList/Handle/Name' : {'type': 'pattern-in-memory', 'comment': 'ProcessHandleListName'},
|
||||||
'ProcessItem/HandleList/Handle/Type' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessHandleType'},
|
'ProcessItem/HandleList/Handle/Type' : {'type': 'pattern-in-memory', 'comment': 'ProcessHandleType'},
|
||||||
'ProcessItem/SectionList/MemorySection/Name' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessSectionMemoryName'},
|
'ProcessItem/SectionList/MemorySection/Name' : {'type': 'pattern-in-memory', 'comment': 'ProcessSectionMemoryName'},
|
||||||
'ProcessItem/SectionList/MemorySection/PEInfo/Exports/DllName' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessMemoryPEExportsDllName'},
|
'ProcessItem/SectionList/MemorySection/PEInfo/Exports/DllName' : {'type': 'pattern-in-memory', 'comment': 'ProcessMemoryPEExportsDllName'},
|
||||||
'ProcessItem/SectionList/MemorySection/PEInfo/Sections/Section/Name' : {'category': 'External analysis','type': 'pattern-in-memory', 'comment': 'ProcessSectionNameInMemory'},
|
'ProcessItem/SectionList/MemorySection/PEInfo/Sections/Section/Name' : {'type': 'pattern-in-memory', 'comment': 'Section name from PE in process memory section'},
|
||||||
|
|
||||||
'RegistryItem/Text' : {'category': 'Artifacts dropped','type': 'regkey', 'comment': 'RegistryText. '},
|
'RegistryItem/Text' : {'type': 'regkey', 'comment': 'RegistryText. '},
|
||||||
'RegistryItem/Path' : {'category': 'Artifacts dropped','type': 'regkey', 'comment': 'RegistryPath. '},
|
'RegistryItem/Path' : {'type': 'regkey', 'comment': 'RegistryPath. '},
|
||||||
'RegistryItem/Value' : {'category': 'Artifacts dropped','type': 'regkey', 'comment': 'RegistryValue. '},
|
'RegistryItem/Value' : {'type': 'regkey', 'comment': 'RegistryValue. '},
|
||||||
'RegistryItem/KeyPath' : {'category': 'Artifacts dropped','type': 'regkey', 'comment': 'RegistryKeyPath. '},
|
'RegistryItem/KeyPath' : {'type': 'regkey', 'comment': 'RegistryKeyPath. '},
|
||||||
'RegistryItem/ValueName' : {'category': 'Artifacts dropped','type': 'regkey', 'comment': 'RegistryValueName. '},
|
'RegistryItem/ValueName' : {'type': 'regkey', 'comment': 'RegistryValueName. '},
|
||||||
|
|
||||||
'RouteEntryItem/Destination': {'category': 'Network activity','type': 'ip-dst'},
|
'RouteEntryItem/Destination': {'type': 'ip-dst'},
|
||||||
'RouteEntryItem/Destination/IP' : {'category': 'Network activity','type': 'ip-dst', 'comment': 'RouteDestination. '},
|
'RouteEntryItem/Destination/IP' : {'type': 'ip-dst', 'comment': 'RouteDestination. '},
|
||||||
'RouteEntryItem/Destination/string' : {'category': 'Network activity','type': 'url', 'comment': 'RouteDestination. '},
|
'RouteEntryItem/Destination/string' : {'type': 'url', 'comment': 'RouteDestination. '},
|
||||||
|
|
||||||
|
|
||||||
'ServiceItem/name' : {'category': 'Artifacts dropped','type': 'windows-service-name'},
|
'ServiceItem/name' : {'type': 'windows-service-name'},
|
||||||
'ServiceItem/type' : {'category': 'Artifacts dropped','type': 'pattern-in-memory', 'comment': 'ServiceType. '},
|
'ServiceItem/type' : {'type': 'pattern-in-memory', 'comment': 'ServiceType. '},
|
||||||
'ServiceItem/startedAs' : {'category': 'Artifacts dropped','type': 'pattern-in-memory', 'comment': 'ServiceStartedAs. '},
|
'ServiceItem/startedAs' : {'type': 'pattern-in-memory', 'comment': 'ServiceStartedAs. '},
|
||||||
'ServiceItem/serviceDLL' : {'category': 'Artifacts dropped','type': 'pattern-in-memory', 'comment': 'ServiceDll. '},
|
'ServiceItem/serviceDLL' : {'type': 'pattern-in-memory', 'comment': 'ServiceDll. '},
|
||||||
'ServiceItem/description' : {'category': 'Artifacts dropped','type': 'comment', 'comment': 'ServiceDescription. '},
|
'ServiceItem/description' : {'type': 'comment', 'comment': 'ServiceDescription. '},
|
||||||
'ServiceItem/descriptiveName' : {'category': 'Artifacts dropped','type': 'windows-service-displayname'},
|
'ServiceItem/descriptiveName' : {'type': 'windows-service-displayname'},
|
||||||
'ServiceItem/serviceDLLmd5sum': {'type': 'md5', 'category': 'Payload installation'},
|
'ServiceItem/serviceDLLmd5sum': {'type': 'md5', 'comment': 'ServiceDLL. '},
|
||||||
'ServiceItem/serviceDLLsha1sum': {'type': 'sha1', 'category': 'Payload installation'},
|
'ServiceItem/serviceDLLsha1sum': {'type': 'sha1', 'comment': 'ServiceDLL. '},
|
||||||
'ServiceItem/serviceDLLsha256sum': {'type': 'sha256', 'category': 'Payload installation'},
|
'ServiceItem/serviceDLLsha256sum': {'type': 'sha256', 'comment': 'ServiceDLL. '},
|
||||||
'ServiceItem/serviceDLLSignatureVerified' : {'category': 'Artifacts dropped','type': 'pattern-in-memory', 'comment': 'ServiceDllSignatureVerified. '},
|
'ServiceItem/serviceDLLSignatureVerified' : {'type': 'pattern-in-memory', 'comment': 'ServiceDllSignatureVerified. '},
|
||||||
|
|
||||||
'Snort/Snort' : {'category': 'Network activity','type': 'snort'},
|
'Snort/Snort' : {'type': 'snort'},
|
||||||
|
|
||||||
'SystemInfoItem/HostName': {'type': 'hostname', 'comment': 'SystemInfo. '},
|
'SystemInfoItem/HostName': {'type': 'hostname', 'comment': 'SystemInfo. '},
|
||||||
|
|
||||||
'TaskItem/Name' : {'category': 'Artifacts dropped','type': 'windows-scheduled-task', 'comment': 'TaskName. '},
|
'TaskItem/Name' : {'type': 'windows-scheduled-task', 'comment': 'TaskName. '},
|
||||||
'TaskItem/sha1sum' : {'category': 'Artifacts dropped','type': 'windows-scheduled-task', 'comment': 'TashSha1. '},
|
'TaskItem/sha1sum' : {'type': 'windows-scheduled-task', 'comment': 'TashSha1. '},
|
||||||
'TaskItem/sha256sum' : {'category': 'Artifacts dropped','type': 'windows-scheduled-task', 'comment': 'TashSha256. '},
|
'TaskItem/sha256sum' : {'type': 'windows-scheduled-task', 'comment': 'TashSha256. '},
|
||||||
'TaskItem/AccountName' : {'category': 'Artifacts dropped','type': 'windows-scheduled-task', 'comment': 'TaskAccountName'},
|
'TaskItem/AccountName' : {'type': 'windows-scheduled-task', 'comment': 'TaskAccountName'},
|
||||||
'TaskItem/ActionList/Action/ExecProgramPath' : {'category': 'Artifacts dropped','type': 'windows-scheduled-task', 'comment': 'TaskExecProgramPath. '},
|
'TaskItem/ActionList/Action/ExecProgramPath' : {'type': 'windows-scheduled-task', 'comment': 'TaskExecProgramPath. '},
|
||||||
'TaskItem/TriggerList/Trigger/TriggerFrequency' : {'category': 'Artifacts dropped','type': 'windows-scheduled-task', 'comment': 'TaskTriggerFrequency. '},
|
'TaskItem/TriggerList/Trigger/TriggerFrequency' : {'type': 'windows-scheduled-task', 'comment': 'TaskTriggerFrequency. '},
|
||||||
|
|
||||||
'UrlHistoryItem/URL' : {'category': 'Payload delivery','type': 'url','comment': 'UrlHistory. '},
|
'UrlHistoryItem/URL' : {'type': 'url','comment': 'UrlHistory. '},
|
||||||
'UrlHistoryItem/HostName': {'type': 'hostname','comment': 'UrlHistory. '},
|
'UrlHistoryItem/HostName': {'type': 'hostname','comment': 'UrlHistory. '},
|
||||||
|
|
||||||
'Yara/Yara' : {'category': 'Artifacts dropped','type': 'yara'},
|
'Yara/Yara' : {'type': 'yara'},
|
||||||
|
|
||||||
# mapping for composite object
|
# mapping for composite object
|
||||||
# maybe later filename|sizeinbyte
|
# maybe later filename|sizeinbyte
|
||||||
'FileItem/FileName|FileItem/Md5sum' : {'category': 'External analysis','type': 'filename|md5'},
|
'FileItem/FileName|FileItem/Md5sum' : {'type': 'filename|md5'},
|
||||||
'FileItem/FileName|FileItem/Sha1sum' : {'category': 'External analysis','type': 'filename|sha1'},
|
'FileItem/FileName|FileItem/Sha1sum' : {'type': 'filename|sha1'},
|
||||||
'FileItem/FileName|FileItem/Sha256sum' : {'category': 'External analysis','type': 'filename|sha256'},
|
'FileItem/FileName|FileItem/Sha256sum' : {'type': 'filename|sha256'},
|
||||||
'Network/DNS|PortItem/remoteIP' : {'category': 'Network activity','type': 'domain|ip'},
|
'Network/DNS|PortItem/remoteIP' : {'type': 'domain|ip'},
|
||||||
'PortItem/remoteIP|PortItem/remotePort' : {'category': 'Network activity', 'comment': 'ip-dst|port'},
|
'PortItem/remoteIP|PortItem/remotePort' : {'comment': 'ip-dst|port'},
|
||||||
'RegistryItem/Path|RegistryItem/Value' : {'category': 'Artifacts dropped','type': 'regkey|value'},
|
'RegistryItem/Path|RegistryItem/Value' : {'type': 'regkey|value'},
|
||||||
'RegistryItem/KeyPath|RegistryItem/Value' : {'category': 'Artifacts dropped','type': 'regkey|value'},
|
'RegistryItem/KeyPath|RegistryItem/Value' : {'type': 'regkey|value'},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -319,7 +319,8 @@ def set_all_attributes(openioc, misp_event):
|
||||||
return misp_event
|
return misp_event
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# test file for composite : https://github.com/fireeye/iocs/blob/master/BlogPosts/9cee306d-5441-4cd3-932d-f3119752634c.ioc
|
# test file for composite
|
||||||
|
# https://github.com/fireeye/iocs/blob/master/BlogPosts/9cee306d-5441-4cd3-932d-f3119752634c.ioc
|
||||||
x = open('test.ioc', 'r')
|
x = open('test.ioc', 'r')
|
||||||
mispEvent = load_openioc(x.read())
|
mispEvent = load_openioc(x.read())
|
||||||
print(mispEvent._json_full())
|
print(mispEvent._json_full())
|
||||||
|
|
Loading…
Reference in New Issue