sroberts / cacador Goto Github PK
View Code? Open in Web Editor NEWIndicator Extractor
License: MIT License
Indicator Extractor
License: MIT License
Could be useful, but would generate a lot of files. Am I the only one who thinks this could be useful?
Make the project pass golint
and go vet
"http://www.w3.org/2001/XMLSchema-instance", "http://stix.mitre.org/stix-1", "http://stix.mitre.org/default_vocabularies-1", "http://data-marking.mitre.org/Marking-1", "http://data-marking.mitre.org/extensions/MarkingStructure#TLP-1", "http://www.us-cert.gov/STIXMarkingStructure#AISConsentMarking-2", "http://stix.mitre.org/common-1", "http://stix.mitre.org/extensions/Identity#CIQIdentity3.0-1", "http://cybox.mitre.org/common-2", "http://stix.mitre.org/Indicator-2", "http://cybox.mitre.org/cybox-2", "http://cybox.mitre.org/objects#FileObject-2", "http://cybox.mitre.org/default_vocabularies-2", "http://cybox.mitre.org/objects#DomainNameObject-1", "http://cybox.mitre.org/objects#AddressObject-2", "http://stix.mitre.org/XMLSchema/core/1.1.1/stix_core.xsd", "http://stix.mitre.org/XMLSchema/default_vocabularies/1.1.1/stix_default_vocabularies.xsd", "http://stix.mitre.org/XMLSchema/data_marking/1.1.1/data_marking.xsd", "http://stix.mitre.org/XMLSchema/extensions/marking/tlp/1.1.1/tlp_marking.xsd", "http://www.us-cert.gov/sites/default/files/STIX_Namespace/AIS_Bundle_Marking_1.1.1_v1.0.xsd", "http://stix.mitre.org/XMLSchema/common/1.1.1/stix_common.xsd", "http://stix.mitre.org/XMLSchema/extensions/identity/ciq_3.0/1.1.1/ciq_3.0_identity.xsd", "http://stix.mitre.org/XMLSchema/external/oasis_ciq_3.0/xPIL.xsd", "http://cybox.mitre.org/XMLSchema/common/2.1/cybox_common.xsd", "http://stix.mitre.org/XMLSchema/indicator/2.1.1/indicator.xsd", "http://cybox.mitre.org/XMLSchema/core/2.1/cybox_core.xsd", "http://cybox.mitre.org/XMLSchema/objects/File/2.1/File_Object.xsd", "http://cybox.mitre.org/XMLSchema/default_vocabularies/2.1/cybox_default_vocabularies.xsd", "http://cybox.mitre.org/XMLSchema/objects/Domain_Name/1.0/Domain_Name_Object.xsd", "http://cybox.mitre.org/XMLSchema/objects/Address/2.1/Address_Object.xsd", "http://www.lockheedmartin.com/content/dam/lockheed/data/corporate/documents/LM-White-Paper-Intel-Driven-Defense.pdf", "https://www.us-cert.gov/tlp", "http://msdn.microsoft.com/en-us/library/ff648653.aspx", "https://www.us-cert.gov/ccubedvp", "https://www.cert.org/resilience/rmm.html", "https://www.nist.gov/cyberframework", "https://www.us-cert.gov/forms/feedback.INDICATOR_VALUE,TYPE,COMMENT,ROLE,ATTACK_PHASE,OBSERVED_DATE,HANDLING,DESCRIPTION"
There are plenty of values that it would be great to whitelist, especially for domains, emails, and IPv4s.
It would be great if there was a way to pull automated information for all extracted indicators.
"utilities": {
"md5s": []
},
Should be cves.
YAML could be a much cleaner solution for both patterns and the white/black lists. Just have to sort out the how.
Organize the project so it is go get
-able
It'd be nice to be able to grab Snort signatures from the text block.
Could help simplify workflow for improving.
The illustrious @StabbyCutyou called out a cool idea that he implimented:
Having Cacador as a service could be really useful moving beyond a single system. I'd love to see this implemented as a "mode" that cacador can run in.
// HashRegexs include all file hash types
var HashRegexs = map[string]*regexp.Regexp{
"md5": regexp.MustCompile("[A-Fa-f0-9]{32}"),
"sha1": regexp.MustCompile("[A-Fa-f0-9]{40}"),
"sha256": regexp.MustCompile("[A-Fa-f0-9]{64}"),
"sha512": regexp.MustCompile("[A-Fa-f0-9]{128}"),
"ssdeep": regexp.MustCompile("\\d{2}:[A-Za-z0-9/+]{3,}:[A-Za-z0-9/+]{3,}"),
}
It'd be nice to be able to grab Yara signatures from the text block.
Turns out cacador
opens the file handle way too early and actually doesn't write until much later. That seems pretty dumb, we can do better.
"www.us", "-cert.gov",
Not great.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.