Analysis

  • max time kernel
    149s
  • max time network
    158s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-06-2024 20:05

General

  • Target

    2024-06-24_79fad093383e3c94ea3ecee506420340_mafia.exe

  • Size

    12.4MB

  • MD5

    79fad093383e3c94ea3ecee506420340

  • SHA1

    e82c29ce35cfe3e30a10853335db090c65e5677a

  • SHA256

    9400d92d71e8ba8516cbe64f0c7f9bb96f2cf53a80d0ccf6a8395dd756e02578

  • SHA512

    e4a142dcadb98b35daac5287575cb9d8706e5294b35dc82d1aa6b0c45743e5555c52cb6b979f5cf529c37bd2a1cc8fb8b65db57c47f202aed6f3e6af5857ee83

  • SSDEEP

    6144:m+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:m+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-24_79fad093383e3c94ea3ecee506420340_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-24_79fad093383e3c94ea3ecee506420340_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rifrcmrq\
      2⤵
        PID:4956
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ggflwkru.exe" C:\Windows\SysWOW64\rifrcmrq\
        2⤵
          PID:5060
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rifrcmrq binPath= "C:\Windows\SysWOW64\rifrcmrq\ggflwkru.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-24_79fad093383e3c94ea3ecee506420340_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5092
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rifrcmrq "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rifrcmrq
          2⤵
          • Launches sc.exe
          PID:4524
        • 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:3984
      • C:\Windows\SysWOW64\rifrcmrq\ggflwkru.exe
        C:\Windows\SysWOW64\rifrcmrq\ggflwkru.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-24_79fad093383e3c94ea3ecee506420340_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1748
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:1504
      • 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 --mojo-platform-channel-handle=4160 --field-trial-handle=3084,i,4016110471176367543,14287608422419064331,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:3160

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          12.6MB

          MD5

          a65cdd3430416187ab6448bf9eb1ff66

          SHA1

          5a77d8a310e89cc522535eac1ff33fe4349c9603

          SHA256

          7b9a8344f40b33ea640feae79ccc037afc16506b65b957ab5d95bd3af68c6fcb

          SHA512

          b6fedadc1fc391c703e15d54008b58ddf1a11e0cb194f6f0b4856b4b330a2ca42cfc8388d49b9614fc30d5ee657c4d89173f8df4e7ae841eda9e18a5d9e78442

        • memory/1504-12-0x00000000010E0000-0x00000000010F5000-memory.dmp

          Filesize

          84KB

        • memory/1504-17-0x00000000010E0000-0x00000000010F5000-memory.dmp

          Filesize

          84KB

        • memory/1504-16-0x00000000010E0000-0x00000000010F5000-memory.dmp

          Filesize

          84KB

        • memory/1504-15-0x00000000010E0000-0x00000000010F5000-memory.dmp

          Filesize

          84KB

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

          Filesize

          1.1MB

        • memory/1748-11-0x0000000000400000-0x000000000051A000-memory.dmp

          Filesize

          1.1MB

        • memory/1748-14-0x0000000000400000-0x000000000051A000-memory.dmp

          Filesize

          1.1MB

        • memory/4028-1-0x0000000000660000-0x0000000000760000-memory.dmp

          Filesize

          1024KB

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

          Filesize

          1.1MB

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

          Filesize

          84KB

        • memory/4028-4-0x0000000000400000-0x000000000051A000-memory.dmp

          Filesize

          1.1MB

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

          Filesize

          84KB