Analysis

  • max time kernel
    144s
  • max time network
    132s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26-06-2024 19:01

General

  • Target

    2024-06-26_63d4972da8508414258d10652266b321_mafia.exe

  • Size

    14.3MB

  • MD5

    63d4972da8508414258d10652266b321

  • SHA1

    f21948cf071c65e274ccda5d7f5f24692f094f22

  • SHA256

    55eb0162f40757a5f2183e8bea7f3914f28830bcc01e41ccb87709fc5c82e599

  • SHA512

    7167f8e04a409a8f913cd9a4f896154a31d152fd53f998af56b3fd9bb7771a2afef0189a4c702f99b1ecf47f8d34ea2de99a1b5dc14b84df946d0b8f73c0784d

  • SSDEEP

    6144:P+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:P+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.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-26_63d4972da8508414258d10652266b321_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-26_63d4972da8508414258d10652266b321_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vtjoeqwr\
      2⤵
        PID:2284
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zyokrns.exe" C:\Windows\SysWOW64\vtjoeqwr\
        2⤵
          PID:464
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create vtjoeqwr binPath= "C:\Windows\SysWOW64\vtjoeqwr\zyokrns.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-26_63d4972da8508414258d10652266b321_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2876
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description vtjoeqwr "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start vtjoeqwr
          2⤵
          • Launches sc.exe
          PID:3628
        • 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
          PID:4844
      • C:\Windows\SysWOW64\vtjoeqwr\zyokrns.exe
        C:\Windows\SysWOW64\vtjoeqwr\zyokrns.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-26_63d4972da8508414258d10652266b321_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2756
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:3556
      • 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 --no-appcompat-clear --field-trial-handle=4380,i,14648456027158448592,4956305794400220180,262144 --variations-seed-version --mojo-platform-channel-handle=3644 /prefetch:8
        1⤵
          PID:2832

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          13.0MB

          MD5

          ea0293afd60896c7dfd40c41cc28d54c

          SHA1

          e03d80c03be6935c4114867bf1e73421a3028617

          SHA256

          ffc96f11096b3878f8cfaa942f22e72082bcef9a80a98f1bef68a75edbd980a2

          SHA512

          64b6f14e6b737999186f627a645378718ec4480b346817072648613432723cca23e8fb2e691b1c33231be656e8345cdb60af9d5a5651bcd69ebe58b2c356aa79

        • memory/2024-1-0x0000000000690000-0x0000000000790000-memory.dmp

          Filesize

          1024KB

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

          Filesize

          84KB

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

          Filesize

          84KB

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

          Filesize

          1.1MB

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

          Filesize

          1.1MB

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

          Filesize

          1.1MB

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

          Filesize

          1.1MB

        • memory/3556-13-0x0000000000510000-0x0000000000525000-memory.dmp

          Filesize

          84KB

        • memory/3556-11-0x0000000000510000-0x0000000000525000-memory.dmp

          Filesize

          84KB

        • memory/3556-16-0x0000000000510000-0x0000000000525000-memory.dmp

          Filesize

          84KB