Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-01-2025 18:55

General

  • Target

    2025-01-17_4cf474253898fc3a91d8ec57036f89ba_mafia.exe

  • Size

    10.4MB

  • MD5

    4cf474253898fc3a91d8ec57036f89ba

  • SHA1

    b5de92102717aa551166a5f5c13bf25ff868044e

  • SHA256

    f993bfec5e0f7dd1be181f7175216c8d26e44abd70f4e4b2bfb87cd09eec6d38

  • SHA512

    0f0116a7d75955d9194fb9032a70122f0ab0487b2c56e4321dde7057dcf5763c21e675985be80e986dffd21e5b24b515739ca440510be4710793abcba8f76c57

  • SSDEEP

    24576:opomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt3:Eoo

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-17_4cf474253898fc3a91d8ec57036f89ba_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-17_4cf474253898fc3a91d8ec57036f89ba_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2340
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zjyvxxj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3148
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ucrvigpp.exe" C:\Windows\SysWOW64\zjyvxxj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zjyvxxj binPath= "C:\Windows\SysWOW64\zjyvxxj\ucrvigpp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-17_4cf474253898fc3a91d8ec57036f89ba_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zjyvxxj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zjyvxxj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4896
    • 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:1948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2340 -s 1044
      2⤵
      • Program crash
      PID:1544
  • C:\Windows\SysWOW64\zjyvxxj\ucrvigpp.exe
    C:\Windows\SysWOW64\zjyvxxj\ucrvigpp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-17_4cf474253898fc3a91d8ec57036f89ba_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:232
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 232 -s 520
      2⤵
      • Program crash
      PID:4884
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2340 -ip 2340
    1⤵
      PID:3648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 232 -ip 232
      1⤵
        PID:4228

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        5a6526fd0319dfe84b84af7db2709ae7

        SHA1

        86c63ab02d7f3f9a162e080098e040f2be40af45

        SHA256

        62a2f0897c822f91451ebabc193d058967ffcf79cf1e6faa7616750058898281

        SHA512

        2a68d9ba6d5bebb0477843729b516947bbea95a2a5ea0be3df625975414f3411c93a88ad3bb94aa4a703732545b04fc5f374fbe4accdaf67267542a64a88ee74

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2340-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

        Filesize

        1024KB

      • memory/5024-14-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/5024-16-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/5024-17-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB