Analysis

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

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

General

  • Target

    2025-01-25_9da290c096c7a961d9e45b092e14fc4d_mafia.exe

  • Size

    14.1MB

  • MD5

    9da290c096c7a961d9e45b092e14fc4d

  • SHA1

    639cbddfaddefafb549b7241e100cdd4c9fedb27

  • SHA256

    854f50a2d4a6ada7ae92eab917f9d65b9f8663eeaa90b0b801863b3e4e624423

  • SHA512

    76c960bb83651e70cffb4e736670b650e3d1362a6461e268913b7036e071823edf6070a5f567feb055899534fa793d6aa11a9dc60d98d6427b9a406c558e489f

  • SSDEEP

    24576:z6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQn:+WdLQk

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-25_9da290c096c7a961d9e45b092e14fc4d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_9da290c096c7a961d9e45b092e14fc4d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rtvoadhn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4920
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nwqvnmhd.exe" C:\Windows\SysWOW64\rtvoadhn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rtvoadhn binPath= "C:\Windows\SysWOW64\rtvoadhn\nwqvnmhd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_9da290c096c7a961d9e45b092e14fc4d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rtvoadhn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rtvoadhn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2964
    • 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:2372
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2008 -s 792
      2⤵
      • Program crash
      PID:2572
  • C:\Windows\SysWOW64\rtvoadhn\nwqvnmhd.exe
    C:\Windows\SysWOW64\rtvoadhn\nwqvnmhd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_9da290c096c7a961d9e45b092e14fc4d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3536
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3536 -s 560
      2⤵
      • Program crash
      PID:3692
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2008 -ip 2008
    1⤵
      PID:4744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3536 -ip 3536
      1⤵
        PID:8

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        a1e5dcaa897871c3f76f9c2bb4da412a

        SHA1

        df61ae8bd3093ff06376af8444e503116ad05335

        SHA256

        871ab2406f6468adb4e580ebe4f7d2ee9b7954ecb95786baa2bd3a5d380f8e5f

        SHA512

        156a1b844781f1b576c2fe908846b83a8ee3019c7e420dee828fb3a2483b4d147b17e55a1d698ad3cafd4316adc7bd1452927ebf3f82bcc2578051611a4088b6

      • memory/676-14-0x0000000000D40000-0x0000000000D55000-memory.dmp

        Filesize

        84KB

      • memory/676-17-0x0000000000D40000-0x0000000000D55000-memory.dmp

        Filesize

        84KB

      • memory/676-16-0x0000000000D40000-0x0000000000D55000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2008-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/2008-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

      • memory/2008-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/2008-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/3536-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3536-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3536-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3536-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB