Analysis

  • max time kernel
    144s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29-01-2025 17:33

General

  • Target

    2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe

  • Size

    11.4MB

  • MD5

    6c5e452df29b5a756d22f22a8250e379

  • SHA1

    2220bf75ba0c6eb8a2ae4740c8b63bdd04a2d8b8

  • SHA256

    c0b7e00532c41afb64dd5254952b61511a945eb5d0ed492352919bc41397f4f5

  • SHA512

    c563d976efa75b53187b2649bc3166f756b4d383cc5364c25e7b86a5d643879f7089c0eddb46bed2085f668c335f1c076646455337cb357aea534ffdf292977d

  • SSDEEP

    3072:ZLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:cOMdRQr7OB0ypmMXnl8XEPM3noSWOC

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rrxhiosh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofnlvqxl.exe" C:\Windows\SysWOW64\rrxhiosh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rrxhiosh binPath= "C:\Windows\SysWOW64\rrxhiosh\ofnlvqxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rrxhiosh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rrxhiosh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2608
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:880
  • C:\Windows\SysWOW64\rrxhiosh\ofnlvqxl.exe
    C:\Windows\SysWOW64\rrxhiosh\ofnlvqxl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2588
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2136

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\ofnlvqxl.exe

    Filesize

    10.5MB

    MD5

    dd7dda7bda21cfdba068948faf08c38b

    SHA1

    db457657c8eab242dd86b48a34ed33848ce84cac

    SHA256

    93aed9aff471bb85d7686a6cbc4af9ec0bd5be16f593584aeec85c93f98a34d7

    SHA512

    77b3854b426168ea87bc0c0c87ad5db5d1b9982bd406b580d9c40270697bcbf701ddeb98f267bd2a0ec3815d819ec88aa3708d6e136a38e20372c1d40cdb8720

  • memory/2136-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2136-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2136-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2136-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2136-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2588-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2764-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2764-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

    Filesize

    1024KB

  • memory/2764-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2764-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2764-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2764-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB