Analysis

  • max time kernel
    141s
  • max time network
    129s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/01/2025, 17:30

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
  • 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-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_6c5e452df29b5a756d22f22a8250e379_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lwogrddh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sbvasrmi.exe" C:\Windows\SysWOW64\lwogrddh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lwogrddh binPath= "C:\Windows\SysWOW64\lwogrddh\sbvasrmi.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:4960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lwogrddh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lwogrddh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5104
    • 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:4440
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4668 -s 1296
      2⤵
      • Program crash
      PID:3048
  • C:\Windows\SysWOW64\lwogrddh\sbvasrmi.exe
    C:\Windows\SysWOW64\lwogrddh\sbvasrmi.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:4356
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4356 -s 512
      2⤵
      • Program crash
      PID:2952
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4668 -ip 4668
    1⤵
      PID:3676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4356 -ip 4356
      1⤵
        PID:4400

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        d630126c3b1e9ff5fa809689df8b3bba

        SHA1

        1d26e27df705224f4a6a4eab1c02a64c9de05700

        SHA256

        1406b3232ddd5a88fdac044d55a4702f7c2b4d20fb2d4fc395e1dc9189f2b6cd

        SHA512

        f02c06632a558115093a517b2a191bfe09d46c34b6672f27aa3f8ed6c75a41bb97a56fce99727e141b79832c49ac2a047bea9416f62ecff46d968aa60fe05368

      • memory/2868-14-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/2868-17-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/2868-16-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/4356-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4356-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4356-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4668-8-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/4668-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4668-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB

      • memory/4668-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4668-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB