The mysterious innards of .RSS files...

It could be also interesting to edit RSLogix 500 code without having the software.
I express myself incorrectly. I was thinking about editing the RSS file the same way we can edit the L5K file for RSLogix 5000. You can search and replace, and you can also generate repetitive code faster.
 
Downloading is in the same ballpark of difficulty. Sniff traffic and decode in the same way. Might even be the case that the download protocol is already documented by Rockwell.
 
7Zip will only open archives it considers proper.

What you need is a Hex Editor that open any file, shows the hex value of each word, and allows you to change the hex value.

Somewhere in this machine language code is one word that means XIC followed by a compiled address to check:
EDIT: I use HxD you can get at https://mh-nexus.de/en/hxd/

RSS.JPG
 
What I have always wanted to do, just never did yet, was create a simple program in RSLogix and save it. Open it in HxD and change one word. Then see if RSL opens it without saying it is corrupt, and seeing which instruction or address changed in the program.

If changing every EA to EB changes all OTE's to OTL's, then I have 2 instructions figured out and need to start on the addresses.
 
One thing I do know from opening a known file - the processor name, any password on the file, the RSLinx driver (with IP address if Ethernet) and the name of the computer the file was created on are clearly visible with a hex editor.


From a sample project I just created to test:

Processor Name: QWERTY
Password: 123456
Driver" AB_ETH-1
IP: 192.168.127.250
Computer: DESKTOP-UNPN850

RSS2.JPG
 
mk42,


Microsoft too!


Years ago I used to use Microsoft Money for all my financial records.


I opened it's data file in a hex editor and the password was not encrypted, and near the very end of the file, so it was easy to find.
 
Plain text passwords! Always fun to find :)

Well as a follow up to my previous post, I thought I'd post what I've gotten so far. Basically, decoding RSS files is just a right proper pain in the arse and I don't work with them enough to justify spending more time on this side project. But I don't want what I've done to be in vain, so I'll pass on my torch to anyone willing to carry it.

I've attached my proof of concept powershell script to reconstruct and decompress the RSS tree. Assuming you can get it running it'll give you a .bin file with the raw decompressed file data in it, and where I've done it a decoded xml file.

I was able to pretty much completely decode the data files (refer image), and made a crack at the actual program code... But as I said before - right proper pain.

Anyway, hopefully someone else can get some use from this.

Cheers lads.

2019-06-27_20-49-11.png 2019-06-27_20-50-58.png
 

Attachments

  • Dev.zip
    54.2 KB · Views: 27

Similar Topics

Ok. Riddle me this one. I have a machine that's been running for a couple of years. It is outfitted with a AB 1768-L43S Processor with a...
Replies
33
Views
11,449
Hi all, Why do I get these jobs! We have a customer who has imported a new multi axis stacking machine. The machine is minus wiring and controls...
Replies
11
Views
3,823
I had to laugh at an incident this week. I was asked through a third party if I could give a price and go to a company to take out a program...
Replies
8
Views
2,857
When I have a problem, it's usually a good one... I saw this today while looking for something else. It defies explanation. Pics taken from a...
Replies
9
Views
6,974
PLC-5 remote I/O rack, intermittantly faults on the remote I/O adapter. Green lite blinks, adapter fault lite is red, I/O rack fault is red...
Replies
9
Views
3,353
Back
Top Bottom