Coder Social home page Coder Social logo

Comments (7)

github-actions avatar github-actions commented on July 4, 2024

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

from atomic.

johnk3r avatar johnk3r commented on July 4, 2024

Hello,

can someone help me or inform me where this is described in the documentation?

from atomic.

wbooth avatar wbooth commented on July 4, 2024

Hi, the initial download may have been corrupted, there was an issue in one of the abilities that caused a circular dependency that has been fixed.

To reset atomic
Delete plugins/atomic/atomic-red-team directory
Delete plugins/atomic/data/abilities directory
Update atomic plugin to master
Start up caldera

this should resolve your issue, please let me know if it does not

from atomic.

johnk3r avatar johnk3r commented on July 4, 2024

Thanks for the feedback.

So, I ended up upgrading to version 2.8.1. Unfortunately the problem remained.

I'm trying to simulate a T1059.001 technique, it has the following command:

write-host "Importing and executing SharpHound.ps1 from PathToAtomicsFolder \ T1059.001 \ src" -ForegroundColor Cyan; import-module PathToAtomicsFolder \ T1059.001 \ src \ SharpHound.ps1; Invoke-BloodHound -OutputDirectory $ env: Temp; Start-Sleep 5

Do I need to replace the "variable" PathToAtomicsFolder with something?

from atomic.

wbooth avatar wbooth commented on July 4, 2024

Yes, you can replace the path to the payload

please note from our readme:

When importing tests from Atomic Red Team, this plugin also catches $PathToAtomicsFolder usages pointing to an existing file. It then imports the files as payloads and fix path usages. Note other usages are not handled. If a path with $PathToAtomicsFolder points to an existing directory or an unexisting file, we will not process it any further and ingest it "as it is". Examples of such usages below: -- https://github.com/redcanaryco/atomic-red-team/blob/a956d4640f9186a7bd36d16a63f6d39433af5f1d/atomics/T1022/T1022.yaml#L99 -- https://github.com/redcanaryco/atomic-red-team/blob/ab0b391ac0d7b18f25cb17adb330309f92fa94e6/atomics/T1056/T1056.yaml#L24

from atomic.

johnk3r avatar johnk3r commented on July 4, 2024

Thanks.

As the installation automatically enabled Atomic I believed that there was no need for further configuration.

I will validate and return.

from atomic.

clr2of8 avatar clr2of8 commented on July 4, 2024

Note that Atomic Red Team sometime points to dependencies within its folder structure that do not exist until users run the "Prereq commands". I imagine this is why this particular atomic causes issues when imported into CALDERA as CALDERA tries to point to a file in the src directory that doesn't exist yet. See the markdown of the atomic test here: https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1059.001/T1059.001.md#atomic-test-2---run-bloodhound-from-local-disk

Notice how one of the prereqs says that SharpHound must be found at PathToAtomicsFolder\T1059.001\src\SharpHound.ps1 and this file is not in the redcanary atomic red team repo and would only be in the src directory after running the prereq commands. Perhaps the atomic plugin could run all the prereq commands before running the import.

from atomic.

Related Issues (13)

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.