Ads 230 x 230

Monday, December 19, 2011

Customize SFX Archives for self extracted installers

Posted by: , 0 comments

Hacking WinRAR SFX for customized installers - INTENDED FOR BEGINNERS


Introduction

Creating a customized look for your WinRAR SFX archives is a very easy task, but not all people know how to do it. A good example of a customized SFX is Nero. As we all know, Nero uses WinRAR to compress it’s setup files. But the SFX window has a Nero banner on it and the EXE has a custom Nero icon. So if you wan’t to create your custom installer of Nero (Please visit SiMoNsAyS' guide) and you still wan’t to make your installer look like the original, this is the best way to do it. But this is not just about Nero. You can do this if you wan’t to have a custom look on your repacked SFX’s.

This is what I’ve learned from my experience. If you have any suggestions or corrections, please let me know. In that way, you can help me learn from my mistakes, and discover new things. By the way, I would like to thank sixpack for giving me the idea of working with SFX files.


Things needed (ALL FREE/SHAREWARE)
  • Default.SFX (Download at the bottom of this page.)
  • ResHack
  • Nice icon
  • Banner (24bit bitmap, 93x302, and as small as possible)
Optional tools
  • PETITE – to compress the EXE OR UPX which has a better compression (Thanks to RyanVM for introducing UPX)
  • Axialis Icon Workshop – to edit your icons (you can use other softwares if you want)
Part I – Hacking the SFX file

1) Extract the file “Default.SFX from the original WinRAR installer and rename it to WHATEVER.SFX. Or if you have WinRAR installed on your system, you can get that file from your [INSTALLDIR]. Or you can just download the file at the bottom of this page. Just in case you don’t know, this file is actually an EXE with the .SFX extension. Please note that you CANNOT use the Default.SFX of a GUI patched version of WinRAR.

2) Open your SFX file with ResHack. Click “Action  Replace Icon” to replace the stock icon.

3) Do the same thing with the bitmap. Clck “Action  Replace Bitmap” and replace the default bitmap.

4) Save it, and you’re done.

Here are some pictures to help you follow the instructions if you are lost.

Posted Image




Part II – Compressing the EXE

You have to make your SFX file as small as possible. Because the bigger your SFX file, the bigger SFX archive you will have. But don’t worry. PETITE is the perfect tool that will help us make our SFX file smaller.

1) Run the file PETGUI.EXE and open your SFX file.

2) Uncheck “All non icon/version-info…”, check “Backup”, and set the compression to Level 9.

3) Click “Start”, and you’re done.

Posted Image



EDIT: UPX'S compression is better. Thanks to RyanVM.
Download UPX here: http://upx.sourceforge.net/

Usage:

UPX -k --best Default.SFX
The "-k and --best" switches are case sensitive.


Optional

If you have Axialis Icon Workshop or other icon editor software, you can use it to edit your icon file before using it to replace the default icon of the SFX file. This is another good way to make a small hacked SFX file. We only need the 48x48, 32x32, and 16x16 Windows XP and 256 color icons. You can safely delete all other icon files in you icon to make it smaller.


Test

After creating a hacked SFX file, you can test it by rename it to EXE. Rename your WHATEVER.SFX to WHATEVER.SFX.EXE, to see how nice your icon is, and run it.


Usage

Now, to use your customized SFX file, just copy it to your WinRAR’s [INSTALLDIR]. When you make an SFX archive, just select your SFX file in “Advanced  SFX Options  Module”. Or to make it simple, don’t rename the Default.SFX, and copy it over the original Default.SFX in your [INSTALLDIR].

Posted Image


Good luck, and have fun! B)


PS. I’m not good in graphics (especially Adobe Photoshop), so my banner really sucks. It would be nice if someone can help me make a good one. :lol:

And please, don't ask me how to change the GUI of WinRAR, because I don't know how. Hmm.. Maybe I do.. But I'm not good in graphix! :lol:

Attached File(s)

Attached File  Default.SFX (96K)


Friday, December 16, 2011

Cairo Security Camp 2011

Posted by: , 0 comments


Cairo Security Camp
is an annual event targeting the Information Security Community of the Middle East and North Africa (MENA Region). IT Professionals and security practitioners from throughout the region are invited to attend. Cairo Security Camp 2011 is the first Information Security Conference organized by an Arab Country.
CSCamp Founder: Moataz Salah
Organizers: Security Kaizen Magazine.


Cairo Security Camp 2011
----------------------------------------

Materials

Day 1 – 30th of September 2011:

Keynote: APT Killed the AV Star – Why the Golden Days of Anti-Virus Solutions are Over.

By Chris Brown (Director EMEA Operations NetWitness at RSA The Security Division of EMC).
Chris Brown
PDF Download Presentation of Chris Brown - PDF (138)
Video Open Video
OR -::- Download it here

Securing the Cloud.

By Samer Omar (Middle East Managing Direct at Qualys)
Samer Omar
PDF Download Presentation of Samer Omar - PDF (86)
Video Open Video
 OR -::- Download it here

Handling Incidents Before They Handle You.

By Ahmed El-Ashmawy (Workforce Development Manager at Digital Risk Intelligence)
Ahmed ElAshmawy
PDF Download Presentation of Ahmed Elashmawy - PDF (92)
Video Open Video
 OR -::- Download it here

Data Security Best Practices.

By Dr.Bahaa Hassan (Chairman at ASC Distributor of EC Council Egypt)
Dr.Bahaa Hassan
PDF Download Presentation of Dr. Bahaa Hassan - PDF (95)
Video Open Video 
 OR -::- Download it here

Owning the Command and Control : Reverse Engineering Malware.

By Ehab Hussein (Security Manager at TEDATA)
Ehab Hussein
PDF Download Presentation of Ehab Hussein - PDF (138)
Video Open Video 
OR -::- Download it here

The Weakest Link.

By Mustafa Elmasry (Security Researcher)
Mustafa Elmasry
PDF Download Presentation of Mustafa Elmasry - PDF (83)
Video Open Video
 OR -::- Download it here



Day 2 – 1st of October 2011:

Keynote: Towards an Egyptian Framework for CyberSecurity.

By Dr. Sherif Hashem (Senior Advisor to the Minister of Communications and Information Technology for CyberSecurity, and the Executive Vice President of the Information Technology Industry
Development Agency (ITIDA), Egypt)
Dr. Sherif Hashem
PDF Download Presentation of Dr. Sherif Hashem - PDF (79)
Video Open Video
 OR -::- Download it here

SCADA Security, The Emerging Threat.

By Omar Sherin (Critical Infrastructure Information Protection in QCert)
Omar Sherin
PDF Download Presentation of Omar Sherin - PDF (102)
Video Open Video
OR -::- Download it here

Web Threats & Defense in Depth Strategy for Web Servers.

By Mahmoud Tawfik (CEO and Penetration Testing Director) & Mohamed Rabie (IT Security Consultant and Penetration Testing Direcor)
Mahmoud Tawfik Mohamed Rabie
PDF Download Presentation of M. Tawfik & M. Rabie - PDF (114)
Video Open Video
 OR -::- Download it here

Hacking The Economy.

By Osama Kamal (Threat Intelligence Manager)
Osama Kamal
PDF Download: Coming Soon!
Video Open Video – Coming Soon!

Cyber Warfare: The Amplified Great Hacker War.

By Amr Ali (Founder and CRADO/CSO at Databracket)
Amr Ali
PDF Download Presentation of Amr Ali - PDF (64)
Video Open Video
 OR -::- Download it here

New trends in Cybercrime and Digital Forensics Challenges.

By Adel Abdelmoneim (General Manager at Raya Academy)
Adel Abdelmoneim
PDF Download Presentation of Adel Abdelmoneim - PDF (80)
Video Open Video
 OR -::- Download it here

“How Did I Steal Your Database”

By Mostafa Siraj (Application Security Expert at Etisalat)
Mostafa Siraj
PDF Download Presentation of Mostafa Siraj - PDF (81)
Video Open Video
 OR -::- Download it here

Closing Note: The Role of Information Security in the Post-Revolution Economic & Political Development.

By Osama hiji (Head of IT Delivery Security, Infrastructure and Engineering Department at ORANGE) and Ahmed El-Ezabi (Head of Security Engineering in Orange Egypt IT delivery)
Osama hijiAhmed El-Ezabi
PDF Download Presentation of O. Hiji & A. El-Ezabi - PDF (61)
Video Open Video



 Proud to be There and Waiting for CSCamp 2012


Slideshow

 
صفحات مبعــثرة كسرت حاجز الصمـت لتحكي
متعة الحياة أن تعمل عملا لم يسبقك إليه أحد ولم يتوقعه الآخرون.................. Its just another way to unlock ur potential representing my internists with other. By sniffing the web u might see several info.,instructions and details. here i collect similar and simplify them to u, cutting out from my time, efforts even i create my unique posts