Giter VIP home page Giter VIP logo

Comments (6)

whmacmac avatar whmacmac commented on September 24, 2024

Other error is when trying to execute the sysinfo command from the agent menu:

(Empire: HB3ZNDWP) > sysinfo
[*] Tasked HB3ZNDWP to run TASK_SYSINFO
[*] Agent HB3ZNDWP tasked with task ID 3
(Empire: HB3ZNDWP) > [!] Invalid sysinfo response from HB3ZNDWP

PS: other errors observed during my time using empire:
Trying to use the shell comand "sysinfo" as an alternative to agent sysinfo, i obtain the following error:

error running command: Cannot index into a null array.

Trying to use a basic command like ls or dir results in other error:

error running command: Method invocation failed because [System.IO.FileInfo] does not contain a method named 'op_Addition'.

(Empire: HB3ZNDWP) > shell sysinfo
[*] Tasked HB3ZNDWP to run TASK_SHELL
[*] Agent HB3ZNDWP tasked with task ID 5
(Empire: HB3ZNDWP) > 
error running command: Cannot index into a null array.

(Empire: HB3ZNDWP) > shell ls
[*] Tasked HB3ZNDWP to run TASK_SHELL
[*] Agent HB3ZNDWP tasked with task ID 6
(Empire: HB3ZNDWP) > 
(Empire: HB3ZNDWP) > 
error running command: Method invocation failed because [System.IO.FileInfo] does not contain a method named 'op_Addition'.

from empire.

Cx01N avatar Cx01N commented on September 24, 2024

@Sa1riil Invoke-allchecks should be working again on the dev branch since it was addressed in #64. I recommend checking it out to make sure it is working for you.

As for the issues with sysinfo and ls, what version of windows are you running and updates installed? There may have been an update released that changed some of the ways Powershell is handled. I was testing this out on the most recent windev VM release and was not able to recreate it.

from empire.

whmacmac avatar whmacmac commented on September 24, 2024

@Sa1riil Invoke-allchecks should be working again on the dev branch since it was addressed in #64. I recommend checking it out to make sure it is working for you.

As for the issues with sysinfo and ls, what version of windows are you running and updates installed? There may have been an update released that changed some of the ways Powershell is handled. I was testing this out on the most recent windev VM release and was not able to recreate it.

Hi Cx01N,
The target is a machine from a CTF, as soon as i get root on it, i will check it because for the moment i can not. Also about the dev branch, i have cloned it from https://github.com/BC-SECURITY/Empire.git. So it is possible to have the powerup error because of that if the dev branch was not merged with the default one.
Thank you for the explanation and if it is possible, please do not close it cus i want to check the windows version of the target machine as soon as i get root on it.
Thank you,

from empire.

Hubbl3 avatar Hubbl3 commented on September 24, 2024

@Sa1riil If this is a CTF machine there is no way for us to validate the issues you are encountering as coming from Empire.

It's entirely possible that there is some setting enabled that is causing the issue or even intentionally broken services on the machine.

from empire.

whmacmac avatar whmacmac commented on September 24, 2024

@Sa1riil If this is a CTF machine there is no way for us to validate the issues you are encountering as coming from Empire.

It's entirely possible that there is some setting enabled that is causing the issue or even intentionally broken services on the machine.

I have understood, if it is oki to let me 2 more days to obtain additional data otherwise i will close it as resolved.
Thank you for all your effort.

from empire.

Cx01N avatar Cx01N commented on September 24, 2024

Closing for now since the issue appears to be resolved. Please feel free to reopen if you need to.

from empire.

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.