LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-20-2018, 12:21 PM   #1
sasas123
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Rep: Reputation: Disabled
obfuscation ELF


Hey

Tell the obfuscator or packer for ARM ELF ?

In advance I apologize if not there created a subject.
 
Old 03-20-2018, 12:50 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sasas123 View Post
Hey
Tell the obfuscator or packer for ARM ELF ? In advance I apologize if not there created a subject.
Sorry, but your question makes absolutely no sense as written. What are you trying to ask???
 
Old 03-20-2018, 01:23 PM   #3
sasas123
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
TB0ne

Sorry, I'm not good at speaking English.

Is there any normal working obfuscators for Elf files ?
 
Old 03-20-2018, 01:24 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sasas123 View Post
TB0ne
Sorry, I'm not good at speaking English. Is there any normal working obfuscators for Elf files ?
ELF files are compiled programs. They don't need to be obfuscated. What is your goal here, and what version/distro of Linux are you using?
 
Old 03-20-2018, 01:37 PM   #5
sasas123
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
TB0ne

I Use Ubuntu 16.04.4 LTS https://www.ubuntu.com/download/desktop

ELF files you can compare and find out all you need.

Here on this and need protection obfuscation or packing elf.

Info ELF

ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked
 
Old 03-20-2018, 02:22 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sasas123 View Post
TB0ne
I Use Ubuntu 16.04.4 LTS

ELF files you can compare and find out all you need. Here on this and need protection obfuscation or packing elf. Info ELF ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked
Again, what is your GOAL??? What are you trying to accomplish? An ELF executable is a compiled program...finding out it is compiled, dynamically linked, etc., still does not expose source code, etc. You cannot 'pack' it/obfuscate it/encrypt it, and still have it work.

A program is a program. If you want 100% security 100% of the time, then never let your program off your computer.
 
Old 03-20-2018, 02:51 PM   #7
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Have a look at oplzkwp:

https://github.com/tweksteen/oplzkwp

If you search the internet for linux elf obfuscator you will find other possibilities, such as Burneye, UPX etc., and interesting articles.
 
Old 03-20-2018, 03:13 PM   #8
sasas123
LQ Newbie
 
Registered: Mar 2018
Posts: 4

Original Poster
Rep: Reputation: Disabled
TB0ne

Watch the video please.

Compare ELF https://cloud.mail.ru/public/AkwD/CErS6h6mC

That's what I want to protect my elf file from. From curious users.

Do you understand what I mean ?

hydrurga
Hello

I see oplzkwp It works for build (compiled) ELF file?

Quote:
Modify payload.c to fit your needs. Constraints:

Each function starting with _e_ will be encrypted and decrypted at run-time.

Use decrypt_and_call(next) to call another _e_ function. If the function is currently called (e.g., reentrant), a regular call must be done.

Each functions needs to be page-aligned. (see payload.c and __attribute__((aligned(PAGE_SIZE))).

The final executable must be compiled with -fpie (this is the default if using the Makefile provided).
UPX not work see error please https://cloud.mail.ru/public/4Zik/cXW7JrDV5

How to fix this problem?

Burneye work arm ELF ?
 
Old 03-20-2018, 04:42 PM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,357

Rep: Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739Reputation: 2739
I find the spirit of this thread to go against "the main focus of LQ is Linux and Open Source".
 
Old 03-20-2018, 05:01 PM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sasas123 View Post
TB0ne
Watch the video please. Compare ELF https://cloud.mail.ru/public/AkwD/CErS6h6mC

That's what I want to protect my elf file from. From curious users. Do you understand what I mean ?
Yes, and I assumed that from the start. And there is ZERO chance of you having success doing it. Microsoft hasn't been able to in decades with billions of dollars; curious users will always poke at things. No matter what you do, period. People will tinker, prod, and poke...and in the end, they will do what you don't want anyway.

Ever watch a DVD on Linux? Yeah...ask around about the DRM crap they spent millions on to prevent 'non licensed' players. Which lasted a short while, before someone wrote a VERY small program that decrypted everything.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple obfuscation/recompilation of ELF files BeachHead Linux - Software 6 06-06-2012 10:42 PM
IP address obfuscation Noway2 Linux - Security 3 09-22-2010 02:47 PM
LXer: More Fun With Security Through Obfuscation On Linux And Unix LXer Syndicated Linux News 2 06-02-2008 07:28 AM
slack kernel modules obfuscation?!?! Sammy2ooo Slackware 3 02-28-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration