Analysis

  • max time kernel
    145s
  • max time network
    128s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    19-09-2024 02:35

General

  • Target

    2024-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe

  • Size

    14.0MB

  • MD5

    ec1febd5bd936215067feeacc23762c0

  • SHA1

    4355162cff1556d4041817303fa522576dcd83fc

  • SHA256

    fb761c1ac886be7d6131a7dacfa8e451f93237096dbe6071f8496eeab4cc58a2

  • SHA512

    123002ab121277d036aeb4a7cbbd82c459cc08db2dd6602491a99dc74fac1358879d0b138d3ec17186796849d2cf657851d5be7dbc26c9a585fdc5509ec594d6

  • SSDEEP

    6144:s+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:s+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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.

  • 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-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rwvthnrp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3476
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tovsrokl.exe" C:\Windows\SysWOW64\rwvthnrp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rwvthnrp binPath= "C:\Windows\SysWOW64\rwvthnrp\tovsrokl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rwvthnrp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rwvthnrp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2992
    • 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:4824
  • C:\Windows\SysWOW64\rwvthnrp\tovsrokl.exe
    C:\Windows\SysWOW64\rwvthnrp\tovsrokl.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4872
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2228
  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --field-trial-handle=4252,i,11251706013556949551,5157034131170452377,262144 --variations-seed-version --mojo-platform-channel-handle=4352 /prefetch:8
    1⤵
      PID:2976

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      13.5MB

      MD5

      3f097b20a601e3f0eca2a1b15be02735

      SHA1

      00e471c4423bbd4b5677fe84df4fab19ff369e29

      SHA256

      41b0e97334342d3759a028bb35b3351587f496bd547f26503cf22e2f2dda6308

      SHA512

      aed892a8ca78a51ecba0c9c010f8696ebb9855463d6ba81463c63fd70978412b23d586154e23e232c396f77559d8d939aec840eb74d81f4b0833adb978b33d94

    • memory/2124-1-0x0000000000750000-0x0000000000850000-memory.dmp

      Filesize

      1024KB

    • memory/2124-2-0x0000000000400000-0x0000000000415000-memory.dmp

      Filesize

      84KB

    • memory/2124-6-0x0000000000400000-0x000000000051A000-memory.dmp

      Filesize

      1.1MB

    • memory/2124-7-0x0000000000400000-0x0000000000415000-memory.dmp

      Filesize

      84KB

    • memory/2228-16-0x0000000000C20000-0x0000000000C35000-memory.dmp

      Filesize

      84KB

    • memory/2228-11-0x0000000000C20000-0x0000000000C35000-memory.dmp

      Filesize

      84KB

    • memory/2228-17-0x0000000000C20000-0x0000000000C35000-memory.dmp

      Filesize

      84KB

    • memory/2228-18-0x0000000000C20000-0x0000000000C35000-memory.dmp

      Filesize

      84KB

    • memory/2228-19-0x0000000000C20000-0x0000000000C35000-memory.dmp

      Filesize

      84KB

    • memory/4872-10-0x0000000000400000-0x000000000051A000-memory.dmp

      Filesize

      1.1MB

    • memory/4872-9-0x0000000000400000-0x000000000051A000-memory.dmp

      Filesize

      1.1MB

    • memory/4872-15-0x0000000000400000-0x000000000051A000-memory.dmp

      Filesize

      1.1MB