Giter VIP home page Giter VIP logo

avred's People

Contributors

dobin avatar plowsec avatar scrt-vladimir avatar vmeier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avred's Issues

ESET scan never ends

When scanning an un-obfuscated "Rubeus.exe", ESET scans forever / or avred continues to be stuck in a loop, and no log files are generated. Rubeus is just used as an example, it does this with every binary I've tested (seatbelt, sharphound, etc).

Do we need to configure specifically for ESET ?

NIM compiled binaries fail to parse section.

This issue can be replicated with creating a simple nim program, for eg.

echo "Hello World"

and compiling it with on linux:

nim c --app=console -d:exe -d:mingw --cpu=amd64 -d:debug -d:strip -d:exe --out=helloworld.exe helloworld.nim

scan with avred results in following output:

╰─ python3 ./avred.py --file helloworld.exe                                                                                                                                                                                                                         ─╯
[INFO    ][2023-09-11 14:33:58,601] main() :: Using file: helloworld.exe
[INFO    ][2023-09-11 14:33:58,601] handleFile() :: Handle file: helloworld.exe
[INFO    ][2023-09-11 14:33:58,605] handleFile() :: Using parser for file type EXE
[INFO    ][2023-09-11 14:33:58,647] parseFile() :: Section is invalid, not scanning: .bss addr:0 size:0
[INFO    ][2023-09-11 14:33:58,647] handleFile() :: Using scanner from command line: amsi
[INFO    ][2023-09-11 14:33:58,649] load() :: Loading HashCache
[INFO    ][2023-09-11 14:33:58,650] load() ::   0 hashes loaded
Traceback (most recent call last):
  File "/home/*****/Downloads/avred/./avred.py", line 354, in <module>
    main()
  File "/home//*****//Downloads/avred/./avred.py", line 76, in main
    handleFile(args.file, args, args.server)
  File "/home//*****//Downloads/avred/./avred.py", line 178, in handleFile
    outcome.scanInfo = ScanInfo(scanner.scanner_name, analyzerOptions['scanSpeed'])
                                                      ~~~~~~~~~~~~~~~^^^^^^^^^^^^^
KeyError: 'scanSpeed'

Any other file types work as expected.

Rework windows API

Currently there are two or three windows APIs used:

  • arch_windows.c: Reflexxion system calls stubs (direct syscalls)
  • inject/: from go-inject, to perform process injection
  • syscalls/: from sliver, to perform sliver related stuff like donut shellcode injection

At least merge inject/ and syscalls/. Preferable replace with direct syscalls in pure go, if possible.

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.