Analysis

  • max time kernel
    151s
  • max time network
    165s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220414-en
  • submitted
    03-07-2022 16:27

General

  • Target

    3b716928bfac2bcc66212be3f9ab5a072ef620edf3e4b69148e4ecf14e634560.exe

  • Size

    139KB

  • MD5

    a2300b70e5420a971e380a21c4469387

  • SHA1

    3fbd333c6314e91f9adf89a1b32186156c6d34bb

  • SHA256

    3b716928bfac2bcc66212be3f9ab5a072ef620edf3e4b69148e4ecf14e634560

  • SHA512

    2fbab93c5e9c50d5a1d8a03a3e26b0d13f84cd442afe2cd35e51c900e8495fb873abd49da2e83e7df1318f5297fde44355755acc92e8f2176b1de6246c2f1a03

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\3b716928bfac2bcc66212be3f9ab5a072ef620edf3e4b69148e4ecf14e634560.exe
    "C:\Users\Admin\AppData\Local\Temp\3b716928bfac2bcc66212be3f9ab5a072ef620edf3e4b69148e4ecf14e634560.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3976
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wpheegts\
      2⤵
        PID:1760
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rvcmmakg.exe" C:\Windows\SysWOW64\wpheegts\
        2⤵
          PID:4052
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create wpheegts binPath= "C:\Windows\SysWOW64\wpheegts\rvcmmakg.exe /d\"C:\Users\Admin\AppData\Local\Temp\3b716928bfac2bcc66212be3f9ab5a072ef620edf3e4b69148e4ecf14e634560.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4152
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description wpheegts "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3628
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start wpheegts
          2⤵
          • Launches sc.exe
          PID:4308
        • 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:1668
      • C:\Windows\SysWOW64\wpheegts\rvcmmakg.exe
        C:\Windows\SysWOW64\wpheegts\rvcmmakg.exe /d"C:\Users\Admin\AppData\Local\Temp\3b716928bfac2bcc66212be3f9ab5a072ef620edf3e4b69148e4ecf14e634560.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:676
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1528

      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\rvcmmakg.exe
        Filesize

        12.5MB

        MD5

        38b80ef95c21e176fc0a79a9578a1b2f

        SHA1

        1fb195a60d0c7cc041a65cf5f6f817c7c40eaa46

        SHA256

        277230c418e70d983945ca2112eb3168efbed56c2fd9f1d1c1bd59edfd464939

        SHA512

        d8cf7e3f4aaffe35133381092d817720ee5ca0d67a1eb4f35efd0e856b25c035597daae6fb9f842a007efdb9c371ac42793c611be943cea192ba6707d7df0347

      • C:\Windows\SysWOW64\wpheegts\rvcmmakg.exe
        Filesize

        12.5MB

        MD5

        38b80ef95c21e176fc0a79a9578a1b2f

        SHA1

        1fb195a60d0c7cc041a65cf5f6f817c7c40eaa46

        SHA256

        277230c418e70d983945ca2112eb3168efbed56c2fd9f1d1c1bd59edfd464939

        SHA512

        d8cf7e3f4aaffe35133381092d817720ee5ca0d67a1eb4f35efd0e856b25c035597daae6fb9f842a007efdb9c371ac42793c611be943cea192ba6707d7df0347

      • memory/676-139-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/1528-140-0x0000000000000000-mapping.dmp
      • memory/1528-141-0x00000000010D0000-0x00000000010E5000-memory.dmp
        Filesize

        84KB

      • memory/1528-144-0x00000000010D0000-0x00000000010E5000-memory.dmp
        Filesize

        84KB

      • memory/1528-145-0x00000000010D0000-0x00000000010E5000-memory.dmp
        Filesize

        84KB

      • memory/1668-138-0x0000000000000000-mapping.dmp
      • memory/1760-131-0x0000000000000000-mapping.dmp
      • memory/3628-135-0x0000000000000000-mapping.dmp
      • memory/3976-130-0x0000000000400000-0x0000000000425000-memory.dmp
        Filesize

        148KB

      • memory/4052-132-0x0000000000000000-mapping.dmp
      • memory/4152-134-0x0000000000000000-mapping.dmp
      • memory/4308-136-0x0000000000000000-mapping.dmp