Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 36 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Other
What the next step for I to break my code.
EH-Net
May 25, 2013, 10:24:27 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Other
(Moderator:
don
) >
What the next step for I to break my code.
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: What the next step for I to break my code. (Read 6465 times)
0 Members and 1 Guest are viewing this topic.
bisewski
Newbie
Offline
Posts: 11
What the next step for I to break my code.
«
on:
February 11, 2012, 05:03:25 PM »
Hello all.
I build a soft in vb.net. I use xenocode for protect. My soft conecte the server in my server for login.
Now, I try to pentest my program.
The xenocode was easy to breack. I dump with PETools.
But the .exe created, no function, show an error 0xc000007b.
But in IDA my code is very clean to read, that is a first problem.
I can to continue to investigate my code. Do I need dump dlls? This error can to refer my dlls?
I dont know what my step. In ollydbg my dumpedfile not open.
In IDA, when dumped file open, debugging option not appear, not enable.
Thanks for your attentin.
Logged
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #1 on:
February 12, 2012, 01:49:41 PM »
I founded that I need open my dumped.exe in ILDASM.exe and fix de PE Headrs. How Can I to make This?
In ILDASM not have editor...
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: What the next step for I to break my code.
«
Reply #2 on:
February 12, 2012, 02:33:39 PM »
You can change the PE headers with LordPE. (Or OllyDbg ver. 2.X)
Logged
I'm an InterN0T'er
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #3 on:
February 12, 2012, 02:40:23 PM »
Opa, thanks.
My program have 20mb size and my dump.exe have only 37kb...
Is it normal?
Logged
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: What the next step for I to break my code.
«
Reply #4 on:
February 12, 2012, 02:58:15 PM »
No idea, depends on what your program is and what dump.exe contains. It sounds quite extreme it's as large as 20mb, did you write it all in Visual Basic .Net?
Anyway, I can't tell if it's normal or not, as dump.exe could contain only a part of the entire program. The PE header if I'm not mistaken, is only 1KB. So I wonder what dump.exe contains. But you should investigate that yourself on your own
Logged
I'm an InterN0T'er
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #5 on:
February 15, 2012, 06:39:31 PM »
Good night all.
I did not get to break this code.
My dumped file is clean to read in IDA but the debbuging not function.
I thing that I need found the entreypoint, but I not found.
In attachement, fallow my original exe save in IDA, and my dumped exe.
I dont want this files breaks, unpack...I to learn how I can to do.
If anybody to obtain this code correct, please, tell me the steps How Can I do too.
Sorry my english...
Logged
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #6 on:
February 22, 2012, 11:16:10 AM »
Tests:
-Ildasm, not possible because error CLR.
-Reflector give error "is not a .NET module"
-Xenocode Solution function only postbuild 2006, and my .exe use postbuild 2009.
-I dump with the LordPE, any error, but the dumped.exe not run.
When I open the Dumped.exe I can see that the code is C#.net.
Sugestions?
Logged
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #7 on:
February 22, 2012, 05:43:50 PM »
I found in dumped.exe the exact code where I can hack.
if ((CSServer.LogonState == CSServer.ServerStatus.ok) | (CSServer.LogonState == CSServer.ServerStatus.OKed))
start program
else
close
I need only to make run my dumped.exe...
Logged
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #8 on:
February 23, 2012, 05:57:53 AM »
I didn't manage to create an runnig .exe. The error 0x00007b always happens. But in other foruns I see that other people have the same problem. Exctly problem.
-I dont see any dll in folders, but qhen I use petools I can see many dlls that my exe is using in this time. I try dump this dlls. In Reflector I can Reader this dll, but when I try to import in Visual Studio, I receive an error that say not valid assembly or com...
My doubt is:
In this time, I can to read the code, undertanding all steps, I can to read the dll...so I can undertanding how my program function. Only I cant generate an exe correct, functioning...
But I need? If I can debug the original exe and change directly in assembly...
Is possible? In olly no...When debbugging, read many dlls, and terminate the debug, so run the exe...This happens because the xenocode run my exe in Virtual Mode...
Any sugestion?
Logged
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #9 on:
February 23, 2012, 10:33:57 AM »
Wy I seach in my pc for dlls showed in petools and not found but I can dump this dlls for any folder?
How this dlls can to hide? Xenocode make this?
I need dump more 3 dlls, that not showed in petools. I think this only appear if the program load this. As my program first need to login, so any dlls only loaded if my login is correct , so my exe can go on for the next steps loading the other dlls.
Is this correct?
Where is this dlls?
Logged
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #10 on:
February 24, 2012, 04:51:40 AM »
I instal my program in VM. Use InstallWatch for look all files installed in my pc. In Added Files, I can see that the specific folder was instaled many files, but in explorer this same folder is empty.
I configure my explore to show all hided files and system hided files, but continue empty...
How I can access this hided files?
Logged
bisewski
Newbie
Offline
Posts: 11
Re: What the next step for I to break my code.
«
Reply #11 on:
February 24, 2012, 06:04:20 AM »
assim fica foda, não tem uma alma disposta....
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(30) by
don
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.