Giter Site home page Giter Site logo

daw1012345 / liblzma_backdoor_dyn_analysis Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 9 KB

A simple C program with stubs, allowing one to dynamically debug the backdoor included in liblzma

Shell 4.02% C 95.98%
backdoor liblzma openssh reverse-engineering security ssh xz-utils malware malware-analysis

liblzma_backdoor_dyn_analysis's Introduction

liblzma_backdoor_dynamic_analysis

Description

The purpose of this repo is to simplify the dynamic analysis of the liblzma backdoor. It imitates the environment that the backdoor is expecting during compilation and linking. The backdoor successfully executes (GOT entry for _cpuid gets overwritten and stage 1 runs). However, ssh-specific stubs are missing, meaning that the backdoor will fail to hook SSH functions.

Instructions

  1. Download the backdoor file and extract it. It can be found here ($ wget https://www.openwall.com/lists/oss-security/2024/03/29/4/2 -O backdoor.gz && gzip -d backdoor.o.gz)
  2. Build it with the build.sh file. ($ bash build.sh)
  3. Analyze run the resulting file in a debugger. ($ gdb backdoored_file)

IMPORTANT INFORMATION

I have not verified that this works. I don't recommend running this on your machine (although it is believed that the backdoor only targets openssh). I provide no guarantees or warranty. I am not responsible if this breaks something!

liblzma_backdoor_dyn_analysis's People

Contributors

daw1012345 avatar

Stargazers

 avatar

Watchers

 avatar

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.