Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-11-2024 19:44

General

  • Target

    2024-11-03_0eb39e012ddb0df5c7789ab656bad70c_mafia.exe

  • Size

    11.3MB

  • MD5

    0eb39e012ddb0df5c7789ab656bad70c

  • SHA1

    4d1aada24937ba3fed7a0caa71d29ed033e1e48e

  • SHA256

    6e8518f2d793a0178209b8f7091df07cbafd2193325b04789c7ee1a2837b6642

  • SHA512

    d5c598e795e40bc5d6b33035033e0ac8834f6c89246ba95032e5dd15102332719df55bcc549ff598a15ff1b30bbdb16609d2c63e30f5e805cb896c793a95b52d

  • SSDEEP

    49152:cVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGW:cVdrl/9zG

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-11-03_0eb39e012ddb0df5c7789ab656bad70c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-03_0eb39e012ddb0df5c7789ab656bad70c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oysiporc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kjvrwgqd.exe" C:\Windows\SysWOW64\oysiporc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create oysiporc binPath= "C:\Windows\SysWOW64\oysiporc\kjvrwgqd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_0eb39e012ddb0df5c7789ab656bad70c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description oysiporc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4520
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start oysiporc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2928
    • 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:4808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1576 -s 1216
      2⤵
      • Program crash
      PID:704
  • C:\Windows\SysWOW64\oysiporc\kjvrwgqd.exe
    C:\Windows\SysWOW64\oysiporc\kjvrwgqd.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_0eb39e012ddb0df5c7789ab656bad70c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3632
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3632 -s 556
      2⤵
      • Program crash
      PID:2568
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1576 -ip 1576
    1⤵
      PID:4416
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 544 -p 3632 -ip 3632
      1⤵
        PID:1508

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        979fefc241a11b52652d79562d664e0f

        SHA1

        eb3d87756932574b6b46a9a0a3a74dc9ea034dba

        SHA256

        e4ae67a0a927bd450790789fb1d2948291e970a7beb279758a15caae7cdc0686

        SHA512

        2ae719af202073e6d505a712b83ca342df92f8bf0619895377b908ea6c49506045ae2bbdf0b4cf3af1a4c1f111cc8c54e56b08bd67b31cea9594f05452b2b490

      • memory/1576-8-0x0000000000600000-0x0000000000613000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1576-1-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1576-7-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/1576-2-0x0000000000600000-0x0000000000613000-memory.dmp

        Filesize

        76KB

      • memory/1744-14-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/1744-16-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/1744-17-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/3632-11-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3632-13-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3632-12-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/3632-18-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB