Search found 49 matches

by ira
Thu Aug 26, 2010 3:09 pm
Forum: fun talk
Topic: Determine own file from being closed
Replies: 1
Views: 9349

Determine own file from being closed

I am trying to prevent my program from being closed. So, I hooks TerminateProcess etc.

DLL:
if myprogram then
dontkill
else
goahead

What is the best way to check "myprogram" is really my program?
File name? :(
Hash?? It can make system slower if the file size is big..
Any idea?
by ira
Fri Aug 20, 2010 10:04 am
Forum: madCodeHook
Topic: CreateIpcQueue on a thread?
Replies: 5
Views: 3943

Wait, my english is bad, I'm little a confused The point is even I call CreateIpcQueue in the main thread, the IPC queue callback function is *always* called in a *secondary* thread created by the IPC queue. So I don't have to create a new thread to call CreateIpcQueue. My purpose is to make sure ca...
by ira
Fri Aug 20, 2010 4:18 am
Forum: madCodeHook
Topic: CreateIpcQueue on a thread?
Replies: 5
Views: 3943

Thanks for your explanation about IPC. But, sorry for stupid question, if I call CreateIpcQueue in a thread, does callback function will run in thread too?
by ira
Mon Aug 16, 2010 5:54 am
Forum: madCodeHook
Topic: CreateIpcQueue on a thread?
Replies: 5
Views: 3943

CreateIpcQueue on a thread?

Can I call CreateIpcQueue (for callback function) in a thread (TThread)? Is there any risk? I want to avoid my gui from hang.
by ira
Thu Jul 08, 2010 3:26 am
Forum: madExcept
Topic: best way to debug multithread app?
Replies: 4
Views: 4246

Thanks Madshi for your reply.

Its seems there is a non thread safe somewhere in my component. I"ll have to digging it. Thanks.
by ira
Wed Jul 07, 2010 6:55 am
Forum: madExcept
Topic: best way to debug multithread app?
Replies: 4
Views: 4246

Thanks moz. This is confusing me, that's way I use MadExcept to find the error :cry: :blush: Anyway, I guess EStringList is caused by TStringList, what about EListError? Is it same? There are many TStringLisy in my code and they are thread-safe already. Maybe using locklist is not enough :confused:
by ira
Mon Jul 05, 2010 10:15 am
Forum: madExcept
Topic: best way to debug multithread app?
Replies: 4
Views: 4246

best way to debug multithread app?

Madshi, my multithread app have an error. The steps to produce error is unknown. The time to produce error is unpredictable. I use MadExcept to find the cause of error. The error is list index out of bounds. Right now MadExcept only show error in thread code. I can't find the bad listview. callstack...
by ira
Thu Jun 24, 2010 7:21 am
Forum: madExcept
Topic: about installing madExcept to IDE
Replies: 10
Views: 18372

about installing madExcept to IDE

Madshi,

i've installed madCollection, I don't find madExcept in Project menu. madExcept menu only appear in D2010, in D2007 it not exists.

How do I install madExcept to IDE manually ?
by ira
Sat Jun 12, 2010 4:19 am
Forum: madCodeHook
Topic: Hook text file contain space
Replies: 2
Views: 3055

alright I'll your tricks. FYI, my program can hook text file successfully on XP and got no luck in 7. :cry: :blush:
by ira
Thu Jun 10, 2010 3:14 am
Forum: madCodeHook
Topic: Hook text file contain space
Replies: 2
Views: 3055

Hook text file contain space

My program can hook text file which opened in Notepad. The way is by hooking the first parameter of created process. The problem is my program can not hook text file contain space.

c:\file.txt << hooked succesfully
c:\new file.txt << failed

Any suggestion?
by ira
Mon Feb 22, 2010 2:35 am
Forum: fun talk
Topic: SPBAT v1.0 PoC
Replies: 2
Views: 12553

Cool!
Can't wait for the (old) source :redBalloon: :greenBalloon: :blueBalloon:
by ira
Mon Feb 22, 2010 2:31 am
Forum: madCodeHook
Topic: list of folder?
Replies: 3
Views: 3702

I think that many applications are using FindFirst/Next internally and probably also rather often, so I'm not sure if it's a good idea to base your malware monitoring on that Thanks for the advices. I think it would be better to try to detect situations where the *user* really opens a folder. Right...
by ira
Wed Feb 17, 2010 8:02 am
Forum: madCodeHook
Topic: list of folder?
Replies: 3
Views: 3702

list of folder?

Hi I want to make simple malware monitoring, I want if user open folder then my program will check all files in current folder. I guess I have to hook FindFirst/FindNext or NTQueryDirectoryFile. Can you give me some clues/steps to do this with mch?

thx.
by ira
Tue Feb 16, 2010 12:34 pm
Forum: fun talk
Topic: exe compressor?
Replies: 4
Views: 14091

I want make my exe smaller because other similar programs have small size. Sure coz they use c++ / asm and I use D2010 with unicode pack :lol:

Yeah you're right hardisks are so big today, the problem is not about hardware but my eyes prefer to see my program with small size than big size :blush:
by ira
Tue Feb 16, 2010 3:51 am
Forum: fun talk
Topic: exe compressor?
Replies: 4
Views: 14091

exe compressor?

I use UPX to my program (using madshi injection) and it give me error to os when running the program.

Is there any exe compressor to handle this problem? The point is I want to make my exe smaller.

Thx.