Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 21:40

General

  • Target

    2025-02-03_ffc40efcdef925680987e5a720540448_mafia.exe

  • Size

    10.3MB

  • MD5

    ffc40efcdef925680987e5a720540448

  • SHA1

    cd15137681ea5563c4a62fc277e10fc3866f5397

  • SHA256

    244657e1a22a99b2e56bba5cfb2df25c8c04d271e6990d0cfe34614dec00ac35

  • SHA512

    c4c1a76f0c1d1077f98c3147fb6db49f68c33c7aa36be24c24e7081c5cbdc13780d7e0be45ca88d7c444e805fb2dfced9b5faefdc159cfb9ba4d9fdc59c06538

  • SSDEEP

    24576:ApomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttN:Moo

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-02-03_ffc40efcdef925680987e5a720540448_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_ffc40efcdef925680987e5a720540448_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3984
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qjgkzyhm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jrgkxvee.exe" C:\Windows\SysWOW64\qjgkzyhm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qjgkzyhm binPath= "C:\Windows\SysWOW64\qjgkzyhm\jrgkxvee.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_ffc40efcdef925680987e5a720540448_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qjgkzyhm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qjgkzyhm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3288
    • 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:1580
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3984 -s 1208
      2⤵
      • Program crash
      PID:1384
  • C:\Windows\SysWOW64\qjgkzyhm\jrgkxvee.exe
    C:\Windows\SysWOW64\qjgkzyhm\jrgkxvee.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_ffc40efcdef925680987e5a720540448_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3448
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3448 -s 512
      2⤵
      • Program crash
      PID:3200
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3984 -ip 3984
    1⤵
      PID:2616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 3448 -ip 3448
      1⤵
        PID:3100

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        cadf9d499dff7aa74c412fe285708dfa

        SHA1

        60894e25a09c42b28d999fd699fe1d0e2e8e9da4

        SHA256

        1c29e241d44c70a811789b9811c2ce4a049e05a069588ba29a8fd038574e865a

        SHA512

        267a6e792f46478d901ea19e14e45cf99fb51cfc68cc50ab1b456e5d4758c156f91436bd6102d501bcbe1f055f4b8e1268a664acc9bf0885802d5be008bf341b

      • memory/464-14-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

        Filesize

        84KB

      • memory/464-16-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

        Filesize

        84KB

      • memory/464-17-0x0000000000AD0000-0x0000000000AE5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3448-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3984-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3984-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3984-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB