flat assembler
Message board for the users of flat assembler.

Index > Windows > how to directly access hard disk and usb drives in win xp

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
Muhammad ibtisam abdullah



Joined: 15 Apr 2010
Posts: 6
Muhammad ibtisam abdullah 15 Apr 2010, 04:45
Very Happy please i want to know a method to directly access hard disk
in win xp and all nt series its very urgent.please.
Post 15 Apr 2010, 04:45
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20459
Location: In your JS exploiting you and your system
revolution 15 Apr 2010, 07:12
Urgent things tend to take a longer time to solve than interesting things.

Why so urgent?
Post 15 Apr 2010, 07:12
View user's profile Send private message Visit poster's website Reply with quote
Alphonso



Joined: 16 Jan 2007
Posts: 295
Alphonso 15 Apr 2010, 07:32
Try looking at

Code:
CreateFile and maybe \\.\PHYSICALDRIVE0
DeviceIoControl and FSCTL_LOCK_VOLUME
ReadFile and/or WriteFile
CloseHandle
    
Post 15 Apr 2010, 07:32
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 15 Apr 2010, 07:46
revolution: Why so cryptic?

Interesting question, but it does leave one to wonder why it is urgent. Does this help. From what I can tell, it explains a Windows equivalent to Linux's listing of hardware as files.
Post 15 Apr 2010, 07:46
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20459
Location: In your JS exploiting you and your system
revolution 15 Apr 2010, 07:49
Tyler wrote:
Why so cryptic?
Because so often the "urgent" things are simply homework help or virus help.
Post 15 Apr 2010, 07:49
View user's profile Send private message Visit poster's website Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 15 Apr 2010, 08:15
True. Virus making does seem like the most obvious use for direct hardware access. But what could anyone who has to ask really do?

Not that viruses aren't interesting, I'd like to see the source to one, but I'd never use it. The whole "living," reproducing code thing is what interests me.
Post 15 Apr 2010, 08:15
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 15 Apr 2010, 10:46
this board needs a presentation section, only to know who are the new users that need urgent things, without any explication.

we need to know who are thoses users who always come, ask a thing, and never come again.

then, Muhammad ibtisam abdullah, who are you, welcome to the board, what are your interrest, why do you want to use fasm, etc etc...

tyler, if you want to know more about viruses, try to code some... Very Happy
it is mostly not very hard to create an EXE that will never show itself in the taskbar, apparently do nothing, but use system vulnerability to overwrite some parts of the kernel.

i don't know exactlly how it works under windows or linux (protected mode) but in dos, it is very easy ot make a virus, real mode sucks about that.
Post 15 Apr 2010, 10:46
View user's profile Send private message Visit poster's website Reply with quote
Muhammad ibtisam abdullah



Joined: 15 Apr 2010
Posts: 6
Muhammad ibtisam abdullah 15 Apr 2010, 11:07
revolution wrote:
i need urgent because i want to write bootsector directly to hard disk in winxp

Confused
Post 15 Apr 2010, 11:07
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20459
Location: In your JS exploiting you and your system
revolution 15 Apr 2010, 11:16
Muhammad ibtisam abdullah wrote:
revolution wrote:
i need urgent because i want to write bootsector directly to hard disk in winxp

Confused
I never wrote that.
Post 15 Apr 2010, 11:16
View user's profile Send private message Visit poster's website Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 16 Apr 2010, 22:45
Maybe there should be a part of the forum, that only long term members can get to.
Post 16 Apr 2010, 22:45
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 16 Apr 2010, 22:48
How long term? Would I be counted as long term?
Post 16 Apr 2010, 22:48
View user's profile Send private message Reply with quote
edfed



Joined: 20 Feb 2006
Posts: 4353
Location: Now
edfed 16 Apr 2010, 22:58
yep, maybe to avoid this kind of PM:

me in the download from web subject wrote:

hem hem...

write bootsector, download file from the web...

do you want any keylogger?

private massage wrote:

yes i also need a keylogger and many more programmes.do you know how to make a exe encrypter

Laughing

sorry if i don't respect the "private" goal of this message, but it is to warn others...
Post 16 Apr 2010, 22:58
View user's profile Send private message Visit poster's website Reply with quote
windwakr



Joined: 30 Jun 2004
Posts: 827
windwakr 16 Apr 2010, 23:02
Tyler wrote:
How long term? Would I be counted as long term?

You would have had to join at least 5 years, 9 months, and 16 days ago..... Razz



No, but seriously, Dex4u makes a good point. Maybe a subforum where you can only post in it after you have a certain amount of posts, or having been a member for a certain time, or something.

_________________
----> * <---- My star, won HERE
Post 16 Apr 2010, 23:02
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 16 Apr 2010, 23:06
A week and 20 posts should keep any one who's not hell bent on posting in the forum. But what good would it do? They'd just post in another, at least this guy was nice enough to post in the right subforum.
Post 16 Apr 2010, 23:06
View user's profile Send private message Reply with quote
ass0



Joined: 31 Dec 2008
Posts: 518
Location: ( . Y . )
ass0 17 Apr 2010, 00:07
But these kind of fellows are funny, without them this would be a little boring.

_________________
Image
Nombre: Aquiles Castro.
Location2: about:robots
Post 17 Apr 2010, 00:07
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 20 Apr 2010, 19:00
The code the guy wants, i have coded such a app in fasm, i sent the code to Smiddy because i know he wants it for the right reasons (eg: he's into OS dev).

But when some unknown person wants such code along with his other post, it is not so good because every time someone users (in this case) the usb program to write there hobby OS to a usb key fobs, we get AV saying its a virus or something.

I for one have nothing against keyloggers binder rats etc, if they are to learn from and not to use on any other persons PC.

So i think a secret subform for only member that have been invited in can see and post, would be good so we can share such code, without it falling into the wrong hands.
Post 20 Apr 2010, 19:00
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 20 Apr 2010, 21:55
That would be a good reason for a restricted subforum, I couldn't really think of a good reason myself as to what could be posted that would need to be restricted.

PS: What did you use in the app, int 13h, 2 or 42h, DMA, or some other int-less method? I'm interested, can you pm me with the code?
Post 20 Apr 2010, 21:55
View user's profile Send private message Reply with quote
Dex4u



Joined: 08 Feb 2005
Posts: 1601
Location: web
Dex4u 21 Apr 2010, 18:05
Sure i will PM you a link, its a win32 app so it user's the winAPI's
Post 21 Apr 2010, 18:05
View user's profile Send private message Reply with quote
Tyler



Joined: 19 Nov 2009
Posts: 1216
Location: NC, USA
Tyler 23 Apr 2010, 22:20
Dex4u: I don't see how you get anything done with so many large comment blocks.
I don't have the patience to do these
Code:
;==================================================;
;                                                  ;
;==================================================;
    

I bet DexOS would be the PC version of the Xbox if you hadn't taken time to do those every 10 lines Razz
Post 23 Apr 2010, 22:20
View user's profile Send private message Reply with quote
Coddy41



Joined: 18 Jan 2009
Posts: 384
Location: Ohio, USA
Coddy41 24 Apr 2010, 00:33
@Tyler: patience is a key for good coding, those blocks I do two, I do it to increase readability for people reading my code and to break it up, and me being dyslexic it seems to help to have the code broken up into sections even when I am writing.... those blocks dont take long either Wink
Post 24 Apr 2010, 00:33
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.