Analysis

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

    arch:x64arch:x86image:win10v2004-20220721-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-08-2022 01:12

General

  • Target

    5b115ea109dbf8e544900233d6147a179b4909be5bcf1159abb594ad3e272ce6.exe

  • Size

    113KB

  • MD5

    45b3273f12bc83726743d90f4d62e100

  • SHA1

    85da9c8630b48fca68849323eb469857fb93829a

  • SHA256

    5b115ea109dbf8e544900233d6147a179b4909be5bcf1159abb594ad3e272ce6

  • SHA512

    e19aca6b4095b18b8d734b8ee4ad39b6a574689d59726f63db28b20be52a2815091ef0b87c64fdaa37c14c0818e93ed5cfe0f333b646347e9eef1d72c768be4d

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\5b115ea109dbf8e544900233d6147a179b4909be5bcf1159abb594ad3e272ce6.exe
    "C:\Users\Admin\AppData\Local\Temp\5b115ea109dbf8e544900233d6147a179b4909be5bcf1159abb594ad3e272ce6.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3872
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hxnpmktx\
      2⤵
        PID:3696
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\omtpoxvm.exe" C:\Windows\SysWOW64\hxnpmktx\
        2⤵
          PID:2268
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hxnpmktx binPath= "C:\Windows\SysWOW64\hxnpmktx\omtpoxvm.exe /d\"C:\Users\Admin\AppData\Local\Temp\5b115ea109dbf8e544900233d6147a179b4909be5bcf1159abb594ad3e272ce6.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3112
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hxnpmktx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:968
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hxnpmktx
          2⤵
          • Launches sc.exe
          PID:3224
        • 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:3812
      • C:\Windows\SysWOW64\hxnpmktx\omtpoxvm.exe
        C:\Windows\SysWOW64\hxnpmktx\omtpoxvm.exe /d"C:\Users\Admin\AppData\Local\Temp\5b115ea109dbf8e544900233d6147a179b4909be5bcf1159abb594ad3e272ce6.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4060
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:4040

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

        13.1MB

        MD5

        5340029df50a99d2a801f381bef7765d

        SHA1

        a9c634a7dc324f54b49db303eefd52be121e3849

        SHA256

        e8c32634015b7f7fa83c7eee2cbc8a6ab7181415fb8f2dbe35cfeba38f28b5b0

        SHA512

        75a500a447a237053e82813b7e7f108bec6d0117fe0c955fb2ba1a5a08891f75d2259bfd93e13fa238db3f1e036add9f3cf8d9c72b51d019d2cd00f46b283c80

      • C:\Windows\SysWOW64\hxnpmktx\omtpoxvm.exe
        Filesize

        13.1MB

        MD5

        5340029df50a99d2a801f381bef7765d

        SHA1

        a9c634a7dc324f54b49db303eefd52be121e3849

        SHA256

        e8c32634015b7f7fa83c7eee2cbc8a6ab7181415fb8f2dbe35cfeba38f28b5b0

        SHA512

        75a500a447a237053e82813b7e7f108bec6d0117fe0c955fb2ba1a5a08891f75d2259bfd93e13fa238db3f1e036add9f3cf8d9c72b51d019d2cd00f46b283c80

      • memory/968-135-0x0000000000000000-mapping.dmp
      • memory/2268-132-0x0000000000000000-mapping.dmp
      • memory/3112-134-0x0000000000000000-mapping.dmp
      • memory/3224-136-0x0000000000000000-mapping.dmp
      • memory/3696-131-0x0000000000000000-mapping.dmp
      • memory/3812-137-0x0000000000000000-mapping.dmp
      • memory/3872-130-0x0000000000400000-0x000000000041F000-memory.dmp
        Filesize

        124KB

      • memory/4040-140-0x0000000000000000-mapping.dmp
      • memory/4040-141-0x0000000000C10000-0x0000000000C25000-memory.dmp
        Filesize

        84KB

      • memory/4040-144-0x0000000000C10000-0x0000000000C25000-memory.dmp
        Filesize

        84KB

      • memory/4040-145-0x0000000000C10000-0x0000000000C25000-memory.dmp
        Filesize

        84KB

      • memory/4060-139-0x0000000000400000-0x000000000041F000-memory.dmp
        Filesize

        124KB