Giter Club home page Giter Club logo

Comments (5)

jburns12 avatar jburns12 commented on August 17, 2024 1

@Cyb3rWard0g - thanks for the traceback and for the heads up.

I'm checking this out right now and will let you know ASAP when it's fixed.

from cti.

Cyb3rWard0g avatar Cyb3rWard0g commented on August 17, 2024 1

Thank you for the quick response!!!

from cti.

Cyb3rWard0g avatar Cyb3rWard0g commented on August 17, 2024

It works now 👍 It must have been some bug on the library. I ran the commands again and it works

>>> from stix2 import TAXIICollectionSource, Filter
>>> from taxii2client import Server, Collection
>>> 
>>> enterprise_stix_objects = {}
>>> 
>>> collection = Collection("https://cti-taxii.mitre.org/stix/collections/95ecc380-afe9-11e4-9b6c-751b66dd541e/")
>>> 
>>> tc_source = TAXIICollectionSource(collection)
>>> 
>>> enterprise_stix_objects['techniques'] = tc_source.query(Filter("type", "=", "attack-pattern"))
>>> 
>>> enterprise_stix_objects['techniques'][0]
AttackPattern(type=u'attack-pattern', id=u'attack-pattern--18d4ab39-12ed-4a16-9fdb-ae311bba4a0f', created_by_ref='identity--c78cb6e5-0c4b-4611-8297-d1b8b55e40b5', created='2017-12-14T16:46:06.044Z', modified='2018-04-18T17:59:24.739Z', name=u'Rc.common', description=u'During the boot process, macOS executes <code>source /etc/rc.common</code>, which is a shell script containing various utility functions. This file also defines routines for processing command-line arguments and for gathering system settings, and is thus recommended to include in the start of Startup Item Scripts (Citation: Startup Items). In macOS and OS X, this is now a deprecated technique in favor of launch agents and launch daemons, but is currently still used.\n\nAdversaries can use the rc.common file as a way to hide code for persistence that will execute on each reboot as the root user (Citation: Methods of Mac Malware Persistence).\n\nDetection: The <code>/etc/rc.common</code> file can be monitored to detect changes from the company policy. Monitor process execution resulting from the rc.common script for unusual or unknown applications or behavior.\n\nPlatforms: macOS\n\nData Sources: File monitoring, Process Monitoring\n\nPermissions Required: root', kill_chain_phases=[KillChainPhase(kill_chain_name=u'mitre-attack', phase_name=u'persistence')], external_references=[ExternalReference(source_name=u'mitre-attack', url=u'https://attack.mitre.org/wiki/Technique/T1163', external_id=u'T1163'), ExternalReference(source_name=u'Startup Items', description=u'Apple. (2016, September 13). Startup Items. Retrieved July 11, 2017.', url=u'https://developer.apple.com/library/content/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/StartupItems.html'), ExternalReference(source_name=u'Methods of Mac Malware Persistence', description=u'Patrick Wardle. (2014, September). Methods of Malware Persistence on Mac OS X. Retrieved July 5, 2017.', url=u'https://www.virusbulletin.com/uploads/pdf/conference/vb2014/VB2014-Wardle.pdf')], object_marking_refs=['marking-definition--fa42a846-8d90-4e51-bc29-71d5b4802168'], x_mitre_data_sources=[u'File monitoring', u'Process Monitoring'], x_mitre_permissions_required=[u'root'], x_mitre_platforms=[u'macOS'])
>>> 

from cti.

jburns12 avatar jburns12 commented on August 17, 2024

Thanks again @Cyb3rWard0g . We ran into some Docker memory issues which have been resolved for the present. Let us know if you have any more problems. You've been extremely helpful!

from cti.

Cyb3rWard0g avatar Cyb3rWard0g commented on August 17, 2024

np @jburns12 👍 Happy to help! Thank you for providing the details. I appreciate it!! I will keep you posted. I just tested the libraries again and it is still working fine. I will close this issue. Have a good night!

from cti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.