Analysis

  • max time kernel
    148s
  • max time network
    124s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    19-01-2025 20:04

General

  • Target

    2025-01-19_65e6ea116348b45ddd9588df82957824_mafia.exe

  • Size

    13.3MB

  • MD5

    65e6ea116348b45ddd9588df82957824

  • SHA1

    3b420ea8f2c048451842b246efd0c246a7103546

  • SHA256

    513d268f02f386738d3e5e7da1e210a23d94ece06b78b06ccfa6627575b25fee

  • SHA512

    8a02e470d1f8e5049e7e60625b9cd92505ae9ee6dfe6c46a190d9d70eaf71a67cf332f8e8d689ac8eb1365e8ac5f3750f54e9508840ca3636934f2b256401903

  • SSDEEP

    24576:FEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZj:Ofot

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-19_65e6ea116348b45ddd9588df82957824_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_65e6ea116348b45ddd9588df82957824_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2280
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wgssocvk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\namjcpue.exe" C:\Windows\SysWOW64\wgssocvk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wgssocvk binPath= "C:\Windows\SysWOW64\wgssocvk\namjcpue.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_65e6ea116348b45ddd9588df82957824_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wgssocvk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wgssocvk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • 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:2824
  • C:\Windows\SysWOW64\wgssocvk\namjcpue.exe
    C:\Windows\SysWOW64\wgssocvk\namjcpue.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_65e6ea116348b45ddd9588df82957824_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2924
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2728

Network

  • flag-us
    DNS
    microsoft.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    microsoft.com
    IN A
    Response
    microsoft.com
    IN A
    20.70.246.20
    microsoft.com
    IN A
    20.231.239.246
    microsoft.com
    IN A
    20.236.44.162
    microsoft.com
    IN A
    20.76.201.171
    microsoft.com
    IN A
    20.112.250.133
  • flag-us
    DNS
    microsoft.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    microsoft.com
    IN MX
    Response
    microsoft.com
    IN MX
    microsoft-commail protectionoutlook�
  • flag-us
    DNS
    microsoft-com.mail.protection.outlook.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    microsoft-com.mail.protection.outlook.com
    IN A
    Response
    microsoft-com.mail.protection.outlook.com
    IN A
    52.101.11.0
    microsoft-com.mail.protection.outlook.com
    IN A
    52.101.42.0
    microsoft-com.mail.protection.outlook.com
    IN A
    52.101.8.49
    microsoft-com.mail.protection.outlook.com
    IN A
    52.101.40.26
  • flag-us
    DNS
    yahoo.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    yahoo.com
    IN MX
    Response
    yahoo.com
    IN MX
    mta6am0yahoodnsnet
    yahoo.com
    IN MX
    mta7�.
    yahoo.com
    IN MX
    mta5�.
  • flag-us
    DNS
    mta6.am0.yahoodns.net
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    mta6.am0.yahoodns.net
    IN A
    Response
    mta6.am0.yahoodns.net
    IN A
    98.136.96.75
    mta6.am0.yahoodns.net
    IN A
    67.195.204.77
    mta6.am0.yahoodns.net
    IN A
    67.195.228.111
    mta6.am0.yahoodns.net
    IN A
    67.195.228.110
    mta6.am0.yahoodns.net
    IN A
    67.195.204.74
    mta6.am0.yahoodns.net
    IN A
    67.195.204.72
    mta6.am0.yahoodns.net
    IN A
    67.195.228.109
    mta6.am0.yahoodns.net
    IN A
    67.195.204.73
  • flag-us
    DNS
    google.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    google.com
    IN MX
    Response
    google.com
    IN MX
    smtp�
  • flag-us
    DNS
    smtp.google.com
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    smtp.google.com
    IN A
    Response
    smtp.google.com
    IN A
    142.251.18.26
    smtp.google.com
    IN A
    142.251.31.26
    smtp.google.com
    IN A
    142.251.18.27
    smtp.google.com
    IN A
    142.250.153.27
    smtp.google.com
    IN A
    142.250.153.26
  • flag-us
    DNS
    mail.ru
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    mail.ru
    IN MX
    Response
    mail.ru
    IN MX
    mxs�
  • flag-us
    DNS
    mail.ru
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    mail.ru
    IN MX
  • flag-us
    DNS
    mxs.mail.ru
    svchost.exe
    Remote address:
    8.8.8.8:53
    Request
    mxs.mail.ru
    IN A
    Response
    mxs.mail.ru
    IN A
    217.69.139.150
    mxs.mail.ru
    IN A
    94.100.180.31
  • 20.70.246.20:80
    microsoft.com
    svchost.exe
    190 B
    92 B
    4
    2
  • 52.101.11.0:25
    microsoft-com.mail.protection.outlook.com
    svchost.exe
    152 B
    3
  • 43.231.4.7:443
    svchost.exe
    152 B
    3
  • 98.136.96.75:25
    mta6.am0.yahoodns.net
    svchost.exe
    152 B
    3
  • 142.251.18.26:25
    smtp.google.com
    svchost.exe
    152 B
    3
  • 43.231.4.7:443
    svchost.exe
    152 B
    3
  • 217.69.139.150:25
    mxs.mail.ru
    svchost.exe
    152 B
    3
  • 43.231.4.7:443
    svchost.exe
    152 B
    3
  • 8.8.8.8:53
    microsoft.com
    dns
    svchost.exe
    59 B
    139 B
    1
    1

    DNS Request

    microsoft.com

    DNS Response

    20.70.246.20
    20.231.239.246
    20.236.44.162
    20.76.201.171
    20.112.250.133

  • 8.8.8.8:53
    microsoft.com
    dns
    svchost.exe
    59 B
    113 B
    1
    1

    DNS Request

    microsoft.com

  • 8.8.8.8:53
    microsoft-com.mail.protection.outlook.com
    dns
    svchost.exe
    87 B
    151 B
    1
    1

    DNS Request

    microsoft-com.mail.protection.outlook.com

    DNS Response

    52.101.11.0
    52.101.42.0
    52.101.8.49
    52.101.40.26

  • 8.8.8.8:53
    yahoo.com
    dns
    svchost.exe
    55 B
    134 B
    1
    1

    DNS Request

    yahoo.com

  • 8.8.8.8:53
    mta6.am0.yahoodns.net
    dns
    svchost.exe
    67 B
    195 B
    1
    1

    DNS Request

    mta6.am0.yahoodns.net

    DNS Response

    98.136.96.75
    67.195.204.77
    67.195.228.111
    67.195.228.110
    67.195.204.74
    67.195.204.72
    67.195.228.109
    67.195.204.73

  • 8.8.8.8:53
    google.com
    dns
    svchost.exe
    56 B
    77 B
    1
    1

    DNS Request

    google.com

  • 8.8.8.8:53
    smtp.google.com
    dns
    svchost.exe
    61 B
    141 B
    1
    1

    DNS Request

    smtp.google.com

    DNS Response

    142.251.18.26
    142.251.31.26
    142.251.18.27
    142.250.153.27
    142.250.153.26

  • 8.8.8.8:53
    mail.ru
    dns
    svchost.exe
    106 B
    73 B
    2
    1

    DNS Request

    mail.ru

    DNS Request

    mail.ru

  • 8.8.8.8:53
    mxs.mail.ru
    dns
    svchost.exe
    57 B
    89 B
    1
    1

    DNS Request

    mxs.mail.ru

    DNS Response

    217.69.139.150
    94.100.180.31

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.0MB

    MD5

    0e73fb124367932697e313904ae7785c

    SHA1

    0b60290719db9d377cd52739b4031976c1d45e43

    SHA256

    9b3808c068f5e3f2a445548a46251370c9dfaba3e57ba26a735f43c62c750044

    SHA512

    6cb61d39a5d2ab3a9ce8ea64a6ee30cfb2b80cdc1d2cd7bad19c850f34188f80422092026e703dfc93801b191e64124135d089db2ffd5ff5e1479db2d2b0ef7f

  • memory/2280-6-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/2280-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2280-8-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2280-7-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2280-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

  • memory/2728-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2728-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2728-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2728-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2728-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2924-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

We care about your privacy.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.