Analysis

  • max time kernel
    190s
  • max time network
    224s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220721-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220721-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-07-2022 20:00

General

  • Target

    61d06bf851691930e040bb472f567fa64a973936bd43fe325096e33b4bc48334.exe

  • Size

    139KB

  • MD5

    59716c29133bdaf34175ab183a1a7e3c

  • SHA1

    e265094493c86a5a5a2596563cb9c47c592ec599

  • SHA256

    61d06bf851691930e040bb472f567fa64a973936bd43fe325096e33b4bc48334

  • SHA512

    68b05b8a8ca0c40a395de19ed8792c59641155f69e0a9704505a016872de88c5c7f6784f54b0740f0ffb3668bcf85bb263cfc59f7dcdcc50c73444a18976b3eb

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) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 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.

  • 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). Likely ransomware behaviour.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\61d06bf851691930e040bb472f567fa64a973936bd43fe325096e33b4bc48334.exe
    "C:\Users\Admin\AppData\Local\Temp\61d06bf851691930e040bb472f567fa64a973936bd43fe325096e33b4bc48334.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pwbtfmzl\
      2⤵
        PID:2572
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cyugvkrp.exe" C:\Windows\SysWOW64\pwbtfmzl\
        2⤵
          PID:3148
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pwbtfmzl binPath= "C:\Windows\SysWOW64\pwbtfmzl\cyugvkrp.exe /d\"C:\Users\Admin\AppData\Local\Temp\61d06bf851691930e040bb472f567fa64a973936bd43fe325096e33b4bc48334.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4988
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pwbtfmzl "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1560
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pwbtfmzl
          2⤵
          • Launches sc.exe
          PID:1300
        • 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
          PID:3444
      • C:\Windows\SysWOW64\pwbtfmzl\cyugvkrp.exe
        C:\Windows\SysWOW64\pwbtfmzl\cyugvkrp.exe /d"C:\Users\Admin\AppData\Local\Temp\61d06bf851691930e040bb472f567fa64a973936bd43fe325096e33b4bc48334.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4240
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:5116

      Network

      MITRE ATT&CK Matrix ATT&CK v6

      Persistence

      New Service

      1
      T1050

      Modify Existing Service

      1
      T1031

      Registry Run Keys / Startup Folder

      1
      T1060

      Privilege Escalation

      New Service

      1
      T1050

      Defense Evasion

      Modify Registry

      1
      T1112

      Discovery

      Query Registry

      1
      T1012

      System Information Discovery

      2
      T1082

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\cyugvkrp.exe
        Filesize

        14.6MB

        MD5

        0ca32c9dcc77a50a7f42b925b9424e89

        SHA1

        7b7058cd9e9989ff47202a9dcaecc6c9bf943b51

        SHA256

        042c61e73c85fc5960584f74bd4540480deec93cf8fff2c33f336f25e636e794

        SHA512

        5e2bbde3dd979f80af817712c13beecded663f04d1b0551240e9fd51918f814700fa7f55e4615e35e172f4ba7cdc0a681f07f2120dd0e03cd9453cab89a7bdad

      • C:\Windows\SysWOW64\pwbtfmzl\cyugvkrp.exe
        Filesize

        14.6MB

        MD5

        0ca32c9dcc77a50a7f42b925b9424e89

        SHA1

        7b7058cd9e9989ff47202a9dcaecc6c9bf943b51

        SHA256

        042c61e73c85fc5960584f74bd4540480deec93cf8fff2c33f336f25e636e794

        SHA512

        5e2bbde3dd979f80af817712c13beecded663f04d1b0551240e9fd51918f814700fa7f55e4615e35e172f4ba7cdc0a681f07f2120dd0e03cd9453cab89a7bdad

      • memory/1300-136-0x0000000000000000-mapping.dmp
      • memory/1560-135-0x0000000000000000-mapping.dmp
      • memory/2572-131-0x0000000000000000-mapping.dmp
      • memory/3148-132-0x0000000000000000-mapping.dmp
      • memory/3444-137-0x0000000000000000-mapping.dmp
      • memory/4240-139-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/4732-130-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/4988-134-0x0000000000000000-mapping.dmp
      • memory/5116-140-0x0000000000000000-mapping.dmp
      • memory/5116-141-0x0000000000660000-0x0000000000675000-memory.dmp
        Filesize

        84KB

      • memory/5116-144-0x0000000000660000-0x0000000000675000-memory.dmp
        Filesize

        84KB

      • memory/5116-145-0x0000000000660000-0x0000000000675000-memory.dmp
        Filesize

        84KB