Analysis

  • max time kernel
    145s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-01-2025 20:10

General

  • Target

    2025-01-22_e4f89850577cb7f0f8d29febdb8ac5b8_mafia.exe

  • Size

    13.7MB

  • MD5

    e4f89850577cb7f0f8d29febdb8ac5b8

  • SHA1

    661eb50b70b7665fb03418e2d60f6546cda2c1a4

  • SHA256

    66f669015d25d10933e57ad3605fed3c082c466e0851900a0c130d16b0ae6a4a

  • SHA512

    43f326ea6551b61551eb88495ae96ad5ba5a6dcc5f54059721b2393dbeb656c4006b2c8d252712f43c16b60b51111c9d6a768941095ff395f5ad4420b042079d

  • SSDEEP

    6144:fLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQg:ETYe+D2jFu+iZoUFhAz

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-22_e4f89850577cb7f0f8d29febdb8ac5b8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_e4f89850577cb7f0f8d29febdb8ac5b8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4528
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rvzluzso\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bzijsodz.exe" C:\Windows\SysWOW64\rvzluzso\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rvzluzso binPath= "C:\Windows\SysWOW64\rvzluzso\bzijsodz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_e4f89850577cb7f0f8d29febdb8ac5b8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rvzluzso "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rvzluzso
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:952
    • 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:3784
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4528 -s 1044
      2⤵
      • Program crash
      PID:3340
  • C:\Windows\SysWOW64\rvzluzso\bzijsodz.exe
    C:\Windows\SysWOW64\rvzluzso\bzijsodz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_e4f89850577cb7f0f8d29febdb8ac5b8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2236
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2236 -s 512
      2⤵
      • Program crash
      PID:4340
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4528 -ip 4528
    1⤵
      PID:724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 2236 -ip 2236
      1⤵
        PID:920

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        73dd5f0af49373895b7bbf928ae7dc11

        SHA1

        455b2bbf89a836fbf13d6c5d06c03b7898769342

        SHA256

        3edba373e2de42f3837ee20aa487927ddc8fa8abb0b584153335e8987219c654

        SHA512

        322ed892c5c25770dbdf0d8cd8bc3141fb4e5dd2413d8bb5e9c722f7f6f4ddc569da10f809538d4a546c46cd9c389b340418308318bbd3ba9f44d00847cc6de7

      • memory/2236-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2236-18-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2236-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2940-10-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

      • memory/2940-13-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

      • memory/2940-19-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

      • memory/2940-20-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

      • memory/2940-21-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4528-2-0x00000000006A0000-0x00000000006B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4528-15-0x00000000006A0000-0x00000000006B3000-memory.dmp

        Filesize

        76KB

      • memory/4528-14-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4528-1-0x00000000008C0000-0x00000000009C0000-memory.dmp

        Filesize

        1024KB