Giter VIP home page Giter VIP logo

dutas's People

Contributors

dungtv543 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dutas's Issues

Unmapped error with simple shellcode

Hello there,

I created a simple shellcode file,

msfvenom -f raw -p windows/exec CMD=calc -o shellcode

And received this,

%> ./UniAna.py -s shellcode
Emulate i386 code
Emulating...
=======Creating Report=======
ERROR: Invalid memory read (UC_ERR_READ_UNMAPPED)

segv on run

Hi,
I've prepared Dutas Dockerfile with capstone & unicorn based on Ubuntu 16.04. Running UniAna under Python 2.7.11 results in segmentation fault. It looks more like an unicorn fault, but You might want to investigate it anyway.

(Pdb) p UC_X86_REG_FS, FS_0
(32, 4096)

(Pdb) list

403     def simulator_initialisation(mu):
404         try:
405             # init FS
406             fss = x86_OS().init_FS()
407             mu.mem_write(FS_0, fss)
408 B->         mu.reg_write(UC_X86_REG_FS, FS_0)
409             # load dll
410             advapi32 = dll_loader("advapi32.dll", DLL_BASE)
411             mu.mem_write(DLL_BASE, advapi32)
412             kernel32_base = DLL_BASE + len(advapi32)
413             kernel32 = dll_loader("kernel32.dll", kernel32_base)

(Pdb) bt

  /usr/lib/python2.7/bdb.py(400)run()
-> exec cmd in globals, locals
  <string>(1)<module>()
  /Dutas/UniAna.py(493)<module>()
-> main(sys.argv[1:])
  /Dutas/UniAna.py(471)main()
-> simulator_initialisation(mu)
> /Dutas/UniAna.py(408)simulator_initialisation()
-> mu.reg_write(UC_X86_REG_FS, FS_0)

(Pdb) next
Segmentation fault (core dumped)

Where can I find the source of DLLs?

Thanks for providing the excellent project, I wonder where I can find the source of DLLs? Were they written by yourself or from other projects?

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.