Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-12-2024 16:43

General

  • Target

    2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe

  • Size

    11.3MB

  • MD5

    08354967a1a2f5d0c78d5c7d0a80a9bf

  • SHA1

    65c97fda58d573ad7aaa0677c7d4323a35bd67ed

  • SHA256

    c46a5bf2d8001c12538128dec7dbc3563ee98be85f7403624bf48b9e4725d82e

  • SHA512

    66f404ddcba83f7c5514a8c5f00254177a079361bb72fa0c16fa8094c021b231adf9cc9c978db7f00c261b88c86cb5cac24aac6f20b818847943ac80d995d271

  • SSDEEP

    3072:LLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:yOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iyyhovhe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\onbdroph.exe" C:\Windows\SysWOW64\iyyhovhe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create iyyhovhe binPath= "C:\Windows\SysWOW64\iyyhovhe\onbdroph.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description iyyhovhe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start iyyhovhe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • 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:2724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1820 -s 1036
      2⤵
      • Program crash
      PID:2124
  • C:\Windows\SysWOW64\iyyhovhe\onbdroph.exe
    C:\Windows\SysWOW64\iyyhovhe\onbdroph.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-19_08354967a1a2f5d0c78d5c7d0a80a9bf_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3248
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3248 -s 512
      2⤵
      • Program crash
      PID:232
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1820 -ip 1820
    1⤵
      PID:3760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3248 -ip 3248
      1⤵
        PID:1368

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        e19bb7bb2295659b8c77cb88dee93b47

        SHA1

        db02ee21f88610314dfffad9e98e9f999da8b3b4

        SHA256

        cd2429310743fdc9343b3a541fb6687f7c947a20d51f3d44155de24918ba784a

        SHA512

        8b7dbd766685b09dd2f0d0d748ab7ad250c7312688aaab4a4fb1b020dc46a11584ce24766e8b54fba311743e6b86691b3ca376841978ec2100896f16fd9a5b94

      • memory/1820-8-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1820-2-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1820-1-0x0000000000740000-0x0000000000840000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3620-16-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB

      • memory/3620-14-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB

      • memory/3620-17-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB