WEBVTT

00:01.400 --> 00:03.800
Alright, let's start with the next one.

00:03.800 --> 00:16.020
Up next, we've got Ryan, role for Combat Bonner, who is a Senior Security Consultant at ProCircular, and an experienced bug bounty hunter.

00:16.360 --> 00:22.880
And Carl, who is a Security Architect at Islands Banky, is also a top-rated hacker.

00:25.440 --> 00:31.300
Their topic is Plumbing the Plumber, a playbook for integration servers.

00:31.400 --> 00:38.200
This will be a field guide for hunting down and finding the complex plumbing and integration server related flaws.

00:38.200 --> 00:41.080
So here we go, please give it up for Ryan and Carl.

00:44.580 --> 00:46.500
Thank you very much.

00:47.200 --> 00:54.040
So, like he said, this is not just some one-off hack that we did and one cool adventure.

00:54.060 --> 01:02.060
This is a guide, this is a playbook, this is a how-to attack web methods integration servers.

01:03.100 --> 01:13.860
So, who we are, like he said, I'm Ryan, I'm a Senior Penetration Tester at ProCircular, bug bounty hunter, I pretend to be a teacher, and now I guess I can say I'm a presenter.

01:17.280 --> 01:19.620
Oh yeah, yeah, okay, this mic is very awkward.

01:19.880 --> 01:21.940
You hear me okay?

01:22.100 --> 01:35.220
So, alright, I'm working off of notes here, so bear with me, but I actually, this is my real name up there, and I just go by Carl or Gunnmyrkalli, whatever you want, but if you're one of the few people in the world who can say my name, you can also use that.

01:36.000 --> 01:40.700
So, I'm currently ranked number one on Iceland's bug bounty platform, Defend Iceland.

01:41.540 --> 01:44.740
Or I was last time I checked, and I refuse to check again.

01:47.020 --> 01:51.760
So, okay, I worked with web methods for like 10 years almost.

01:51.760 --> 02:05.060
I escaped it in 2022, it's not fun to work with, but I have a lot of experience with that thing, and when I turned into a hacker just, I don't know, a year and a half ago or something, I started looking at it differently, and well, with help from Ryan,

02:05.060 --> 02:08.460
we basically kind of ripped it to shreds, and we're going to show you how.

02:10.980 --> 02:17.660
Big shout out to him for being a developer on this, and kind of giving us a start and giving us the ability to kind of take a look at this.

02:17.740 --> 02:20.660
So, the big question is, what the hell are web methods?

02:20.660 --> 02:21.880
What are integration servers?

02:21.880 --> 02:22.980
How do we use this?

02:22.980 --> 02:26.380
Who here has played with, touched integration servers?

02:26.380 --> 02:28.300
Who knows what web methods are?

02:28.300 --> 02:29.080
Raise your hand.

02:29.820 --> 02:32.180
Alright, don't listen to this, you probably know more.

02:32.180 --> 02:39.420
We don't know a ton, but, so, you know, the central idea, as we understand it, is it's an integration hub.

02:39.420 --> 02:40.560
It's a middleware.

02:41.680 --> 02:44.920
The idea is basically that it connects the old with the new.

02:45.040 --> 02:49.100
It'll connect your, you know, your sort of mainframe to your new Salesforce app.

02:49.100 --> 03:00.960
That's, you know, and it does this whole like data transformation, and allows you to make these, like, business-to-business transactions, and gives you a lot of opportunity to use old with new.

03:01.180 --> 03:14.520
The whole reason we kind of started attacking this, and started looking at this, is, you know, reading and understanding it, we kind of saw it as this sort of, like, undocumented plumbing of large corporate world.

03:14.660 --> 03:16.640
Who likes corporations anyways?

03:16.640 --> 03:18.900
Nobody, so that's why we're attacking it.

03:20.080 --> 03:23.820
So, when we're talking, you know, who's using this?

03:23.820 --> 03:28.020
You know, I said it's big corporations, but, I mean, we're talking the big boys.

03:28.020 --> 03:32.380
You know, Aflac, Google, AT&T, Medtronic, Johnson & Johnson.

03:32.540 --> 03:38.440
There is a ton of just mega-sized businesses that are using this.

03:40.060 --> 03:41.120
Why do we care?

03:41.120 --> 03:43.160
Like I said, nobody cares about big corporations.

03:43.160 --> 03:43.640
That's a lie.

03:43.640 --> 03:45.140
I love you if you want to hire me.

03:45.740 --> 03:51.500
No, but, like, really, this affects us in a day-to-day situation.

03:51.500 --> 03:57.560
So, this is banking, this is healthcare, this is insurance, this is financial transactions.

03:58.420 --> 04:02.440
You know, whether you care about these individual companies or not doesn't matter.

04:02.440 --> 04:08.660
We need to pay attention to this, we need to care about this, just because of what can happen if things go south.

04:08.900 --> 04:17.180
It's this sort of central point of failure, and that's, you know, like I said, this is why we need to care about this so much.

04:18.340 --> 04:24.220
So, now that we, like, understand a little bit about what businesses are, how do we start?

04:24.220 --> 04:27.020
Like, what's, you know, how do we take step one?

04:28.000 --> 04:31.500
We have to start off by, you know, understanding it a little bit.

04:32.180 --> 04:43.800
Starting off, they were built, it was built out in 1996, in 2007 it was purchased by Software AG, and then this last year, in 2024, it was purchased by IBM.

04:44.520 --> 04:54.040
The biggest problem with this, though, is for the longest time, you could not get the information to kind of piece everything together.

04:54.760 --> 05:07.760
Gumi, I believe, was able, or had to take some private training with this, and I think it was about $8,000 to $10,000 for a week of training, in order to, like, understand how to piece these things together.

05:07.780 --> 05:21.000
So, if Gumi, who works on this day-to-day, has to pay $8,000, that means all the researchers, all the security people, all the people who, like, care about that piece of it, are not going to be able to get their hands on it, not going to be able to touch it,

05:21.000 --> 05:24.040
and this leaves you potentially vulnerable.

05:26.340 --> 05:34.140
So, now that we, you know, we've taken the step, we kind of understand a little bit more, what's our next step?

05:34.420 --> 05:36.360
I hate documentation reading.

05:36.540 --> 05:38.400
Everybody hates documentation reading.

05:38.620 --> 05:41.600
The sad reality is, that's what we need to do.

05:41.600 --> 05:44.980
Sometimes we just have to sit down and do the hard things.

05:45.380 --> 05:56.180
I'd be lying if I said I knew the exact amount of pages, but I believe it's something around 30-ish thousand pages, regarding web methods, and it was not in a centralized place.

05:56.180 --> 06:09.160
We're talking different forums, different private training things, different companies, and I believe only in the last year or so, maybe the last couple of years, has it really started to centralize these, like, knowledge bases.

06:10.600 --> 06:15.760
So, now that we've got a little bit more information on what we're doing, what do we want to do?

06:15.760 --> 06:17.320
We want to cast a wide net.

06:17.320 --> 06:21.880
We want to look at Shodan, Fofa, Senses, and even Google.

06:22.060 --> 06:23.780
You know, the tried and true.

06:24.760 --> 06:32.900
So, when we're looking at this, Shodan, you know, we're in Recon Village, I assume most people here probably know what Shodan is.

06:33.740 --> 06:45.440
Essentially, I like to call it a search engine for hackers, and we're going to use, you know, a couple of queries to help us identify, you know, specific things.

06:45.440 --> 06:48.860
The biggest one, the most wide-ranging one, is this top one.

06:49.040 --> 06:53.420
The www.authenticate, looking for integration server.

06:53.420 --> 06:58.240
That shows up somewhere between 600 and 700 results.

06:59.940 --> 07:02.000
Similar, we've got ZoomEye.

07:02.180 --> 07:08.440
I think the real big difference here is they have a little bit wider, you know, port scanning range.

07:08.440 --> 07:11.100
I believe Shodan's somewhere around 1,000.

07:11.440 --> 07:15.780
They're about 3,500, 3,800, give or take.

07:16.260 --> 07:22.600
And the big, you know, the big thing here with ZoomEye is really the integration with CBug Vuln database.

07:22.600 --> 07:26.760
And they have a much better coverage in the sort of Asian markets.

07:28.760 --> 07:34.440
Fofa, really big and about, they've got really good rule-based fingerprinting.

07:34.440 --> 07:37.900
So they all have, like, slightly different, like, queries.

07:38.080 --> 07:44.520
But the idea here, what we really, it's not so much about the individual things that we use.

07:44.780 --> 07:53.480
We really just want to make sure that we're getting as much information as possible, we're putting it together, and then we're kind of going through everything.

07:54.960 --> 07:57.480
Sensi's really good as well.

07:57.500 --> 07:59.480
Really strong quality data.

07:59.640 --> 08:04.700
The biggest thing that I like is I don't really have to read their documents on how to query their thing properly.

08:04.700 --> 08:08.780
They have a nice little query assistance, which can help us out a lot.

08:10.520 --> 08:16.460
And then, like everybody says in every recon talk ever, sometimes you just have to Google it.

08:16.460 --> 08:23.820
Because if you just ask Google who uses web methods, you get these amazing, like, four or five things on the left.

08:24.160 --> 08:35.720
The picture on the right, I think, is from theirstack.com, which I think correlates job hiring posts and a couple other things with kind of making the connection of who's using what.

08:35.840 --> 08:40.060
That ended up with about 2,800 companies.

08:41.620 --> 08:44.220
So, we've got all this data.

08:44.660 --> 08:46.780
We're kind of nearing the end of our recon.

08:47.180 --> 08:48.560
What's the next step?

08:48.560 --> 08:50.820
How can we get just a little bit more?

08:51.040 --> 08:52.360
CT log scanning.

08:52.360 --> 08:57.500
A good friend of mine named Gunner made this great little tool called Gunner.

08:57.500 --> 09:03.520
And you can query it for certain titles, certain types of information.

09:03.740 --> 09:09.540
I basically have this running 24-7 during assessments, and bug bounty hunting.

09:10.220 --> 09:15.020
And you can find a lot of hidden infrastructure, a lot of hidden IT.

09:15.440 --> 09:16.960
Highly recommend it.

09:18.340 --> 09:20.820
So, this is recon.

09:20.820 --> 09:22.780
So, how do we put this all together?

09:22.780 --> 09:24.560
How do we make this make sense?

09:24.560 --> 09:25.680
We're bug bounty hunters.

09:25.680 --> 09:27.360
We want to make some money.

09:27.360 --> 09:29.740
How do we put dollars in our pockets with this?

09:30.100 --> 09:35.380
So, we made a terribly vibe-coded tool.

09:35.380 --> 09:36.440
It's called...

09:37.780 --> 09:40.640
No, you definitely couldn't tell I vibe-coded that.

09:40.940 --> 09:43.580
So, our tool is called Integration Server.

09:43.780 --> 09:56.160
The generalized idea, now that we've taken all this information and put it together, it will take the list of IPs and domains, we're going to convert everything, and we run some tests on it.

09:57.440 --> 09:59.040
It's not super complex.

09:59.040 --> 10:01.080
This is not super hard things.

10:01.080 --> 10:04.440
This is not next-level anything.

10:04.440 --> 10:11.480
We're simply looking for some very specific responses, which kind of confirm that this is or isn't an integration server.

10:11.980 --> 10:14.780
Then, we're going to test default credentials.

10:15.280 --> 10:16.420
Who would have known?

10:16.420 --> 10:19.480
A lot of people like to use default credentials.

10:19.480 --> 10:31.020
A lot of people probably didn't check this, because I think we found like 60-ish, 50-ish default credentials just based on the showdown list.

10:31.800 --> 10:34.940
And that's, I mean, this is a problem.

10:37.960 --> 10:46.360
The last kind of part of this is after we've kind of done our check, once we've kind of got our little confirmation, what's the next step we want to do?

10:46.360 --> 10:49.040
We're going to hit this with API endpoints.

10:49.120 --> 10:56.540
If you go through their documentation, there's about 5,100 different API endpoints that we decided to hit.

10:56.540 --> 11:00.740
I think there's a little bit more, but who wants to read all that damn documentation and figure all of it out?

11:00.740 --> 11:01.480
I don't.

11:03.040 --> 11:11.660
A lot of the times, you can figure out that as an unauthenticated user who's not logged in here, you can hit some very interesting things.

11:11.680 --> 11:13.200
We can list the keys here.

11:13.400 --> 11:18.400
We get a bunch of 500s on remove password, set passwords, but what the hell does that mean?

11:18.400 --> 11:26.400
That means I got to do my favorite thing, read documentation, because I just need to format my request, and then I can execute that.

11:27.080 --> 11:30.500
But I don't want to get too deep in the exploitation part of that.

11:30.500 --> 11:33.200
Let me let Gumi tell you a little bit more about that.

11:35.380 --> 11:36.660
All right, thank you.

11:41.620 --> 11:44.060
Why does this work?

11:44.060 --> 11:45.620
Why does the app really work?

11:45.620 --> 11:48.960
So, the problems with web methods, it starts when...

11:48.960 --> 11:52.020
because it's so easy to make mistakes, basically.

11:52.020 --> 12:00.940
If you can't get a service to work due to a permission issue, it's tempting to just change the permission on the service to default.

12:00.960 --> 12:05.380
What you don't realize, then, as a developer, is that anonymous is part of the default group.

12:05.380 --> 12:08.300
So, you're making it basically unauthenticated.

12:09.400 --> 12:11.620
So, this means that...

12:12.760 --> 12:17.720
Yeah, you might not think this is a big deal, because these are like packages.

12:17.720 --> 12:22.660
This is a VM public package, and why not make it public doesn't matter.

12:22.660 --> 12:29.200
But it's public in the sense that it's a package you can use, and it's going to be backwards comparable.

12:30.640 --> 12:39.700
As you see from the services that it includes, it's like, if you've done this, you've accidentally made all these public, anonymous, basically.

12:39.700 --> 12:43.360
And that does not look like something that should be anonymous, does it?

12:50.280 --> 12:51.440
Thanks, man.

12:52.460 --> 12:53.780
So, yeah.

12:53.820 --> 12:58.220
These are basically the services that we are forcing for, and there are thousands more.

12:58.220 --> 13:06.640
Just the VM public package has like a few thousands, well, at least a few hundred services in there, which you can exploit.

13:11.080 --> 13:13.460
What we did, basically, was we got...

13:13.460 --> 13:14.940
Oh, what did I do?

13:15.020 --> 13:15.760
Oh, no.

13:18.400 --> 13:19.340
Thank you.

13:19.640 --> 13:24.540
So we compiled a list of all the services we could get our hands on, and there are more.

13:25.780 --> 13:30.220
And they're really easy now to source from the IBM documentation.

13:30.220 --> 13:35.580
They didn't used to be public, but they are now, and our list contains, what was it, 3,000 or something?

13:35.580 --> 13:36.620
5,000, a country, maybe.

13:36.620 --> 13:38.320
I think we have 51,000.

13:39.220 --> 13:42.740
So now for the fun part, to actually exploit these services.

13:43.600 --> 13:46.800
So this is a short video.

13:46.900 --> 13:47.680
Does it work?

13:49.020 --> 13:52.420
This is on PDF, it's not going to work.

13:52.760 --> 13:54.040
Sorry, that's not going to work.

13:54.040 --> 13:57.860
So basically, if you right-click on any service, you can run it.

13:58.160 --> 14:00.680
Click run, and run in a browser.

14:00.680 --> 14:07.880
What that will do is basically just create a link for you for where this service can be executed.

14:07.880 --> 14:09.640
And it's just a GET endpoint.

14:10.160 --> 14:11.720
That's for all the services.

14:11.720 --> 14:12.760
It's not even POST.

14:12.760 --> 14:14.020
This is really simple.

14:15.020 --> 14:17.700
And , yeah, it's the...

14:17.700 --> 14:19.520
So it's...

14:19.520 --> 14:25.300
When you hit this endpoint, and you run the service in the browser, you're calling this right here, invoke.

14:25.560 --> 14:28.520
And then just the name of the service.

14:33.020 --> 14:33.500
So...

14:35.020 --> 14:36.820
Getting my bearings here.

14:37.380 --> 14:44.340
And what you can see is that whatever comes after invoke is just the path to the endpoint that you want to execute.

14:44.340 --> 14:53.340
And I don't think the people running this service realize that all this functionality that's available to developers is also available on the service in production.

14:53.860 --> 14:56.140
And to me, that's really sketchy.

14:56.140 --> 15:00.320
If I'm running a server like this now, I will not let it see the Internet at all.

15:00.320 --> 15:03.560
Because this is some scary stuff.

15:06.060 --> 15:08.820
So, when we did this first...

15:08.820 --> 15:16.720
The first time we did this, we just had all the endpoints for all the public services we know about in our list.

15:22.930 --> 15:35.710
And what happens when we're running these services is that you will either get a 404 that the service was not found, which means that the service is not there, or you will get a 401, access denied, which means that it's there, but it's not vulnerable,

15:35.710 --> 15:44.270
or you will get a 500, which means that the service is vulnerable, you just need to find the right meaningful variables at which time you have to actually go to the documentation.

15:44.410 --> 15:51.950
Or you'll get a 200, and this means that it is vulnerable, and you just executed the service.

15:52.630 --> 15:54.850
And this is where we kind of fucked up a bit.

15:54.850 --> 16:00.350
So, this endpoint...

16:00.350 --> 16:05.710
I'm sorry if your web method server shut down for the last couple of months.

16:05.950 --> 16:06.770
Apologies.

16:06.770 --> 16:07.690
We didn't mean to.

16:07.690 --> 16:19.710
I'm not going to... I really don't want to admit just how often I thought we were just being blocked by firewalls, only to realize that, no, we shut down the servers.

16:19.770 --> 16:22.470
And we've done that to major universities.

16:22.470 --> 16:24.230
I think we even did a hospital once.

16:25.990 --> 16:27.930
We did none of the above.

16:28.050 --> 16:29.490
Well, no, we didn't.

16:29.490 --> 16:30.750
We just hit an endpoint.

16:31.970 --> 16:32.630
All right.

16:32.630 --> 16:40.570
So, if you run a server and you had this happen, then you can come and talk to me about my bounty, because this could have been a lot worse with this package.

16:40.570 --> 16:41.710
A lot worse.

16:41.990 --> 16:47.850
So, when we find exposed services, what do we do?

16:47.850 --> 16:52.330
So, this is kind of the tricky part, because it really depends on what services you find.

16:52.330 --> 16:57.090
And you might get lucky and just find a smogging gun, and you can start reporting straight away.

16:57.090 --> 17:04.570
So, I've twice received maximum critical bounty by just reporting an endpoint and returned a bunch of B2B passwords.

17:05.990 --> 17:09.730
And I believe Ryan has found a few smogging guns too.

17:09.730 --> 17:16.910
But if you don't find a smogging gun, play with these services and find the services that are exposed.

17:16.910 --> 17:28.390
And it's not hard to create a POC when you have exposed services such as HTML decode, which can be used for XSS that will surely bypass any firewall.

17:28.490 --> 17:36.230
And I'm also confident that you will not have a problem exploiting a service with this name.

17:39.970 --> 17:45.430
So, this OS command service is a particular favorite.

17:45.430 --> 17:47.790
But there are some caveats with these services.

17:47.790 --> 17:51.710
There are some configurations required on the server to enable some of them.

17:51.710 --> 17:55.670
And this might not be exposed.

17:55.810 --> 17:59.530
Some may be limited to a small number of arguments.

17:59.530 --> 18:04.330
For example, the GET file will only give you files from a specific directory.

18:04.330 --> 18:08.690
But those files are almost certainly going to be something that are sensitive.

18:08.690 --> 18:10.210
So, it's worth forcing that.

18:10.210 --> 18:19.970
And with this one also, to find out what it can actually do, you just use your first list for command injection.

18:19.970 --> 18:23.430
And this will give you some crazy results, I tell you.

18:24.090 --> 18:30.410
So, some services do require complex data structures.

18:30.410 --> 18:33.930
And I recommend just moving on from them because it's a lot harder to exploit.

18:34.210 --> 18:39.390
But at this point, if you get this far, then you already have a maximum critical anyway.

18:39.390 --> 18:41.090
Just go ahead and report it.

18:42.290 --> 18:43.990
But what next?

18:43.990 --> 18:49.750
So, this is, in fact, a tool for companies to create services that they want to then reuse.

18:49.750 --> 18:52.630
And they are just using these services that we've talked about here today.

18:52.630 --> 19:02.370
But if you can figure out what naming conventions they are using on their own services, they have put themselves into a situation where it's a lot easier to fuck up.

19:02.550 --> 19:05.390
And the developers will create their own services.

19:05.390 --> 19:06.890
They don't understand why it doesn't work.

19:06.890 --> 19:08.250
They just make it default.

19:08.250 --> 19:12.090
And if you can figure out the naming convention, then you start versing them like crazy.

19:12.130 --> 19:14.870
Almost guaranteed you find something really juicy.

19:18.170 --> 19:24.350
So, I'll just have a quick thought on all of this.

19:24.410 --> 19:28.010
This isn't just about one method or integration server.

19:28.010 --> 19:32.270
This is about legacy servers on the Internet that have been there for like 30 years.

19:32.310 --> 19:35.170
And nobody has touched it in the world.

19:35.210 --> 19:39.390
If they had, they wouldn't have had this field data we had with this thing.

19:39.390 --> 19:41.190
And they're still out there.

19:41.710 --> 19:47.670
So, I think this methodology should be applied to more servers that are similar.

19:47.670 --> 19:51.390
Like legacy stuff that you might know about, but nobody else knows about.

19:52.530 --> 19:54.570
Has anybody touched it in the world?

19:54.610 --> 19:55.330
I bet not.

19:55.330 --> 19:56.930
Because this was out there.

19:56.950 --> 19:57.730
We found it.

19:57.730 --> 19:58.730
Had a lot of fun with it.

19:58.730 --> 20:02.530
And I think you should apply this to whatever else you might know about.

20:03.010 --> 20:04.750
With that, let's wrap up.

20:06.350 --> 20:12.490
Yeah, like he said, it's really interesting that this has been on the Internet for so long.

20:12.530 --> 20:16.690
And how much we were able to find because of it.

20:17.230 --> 20:24.670
The big thing, our takeaways is, like he said, I think we can kind of simply apply a similar methodology.

20:24.770 --> 20:28.810
Next year, we looked at IBM Web Methods this year.

20:28.810 --> 20:34.550
I'm really interested in taking a look at MuleSoft or any other similar style integration server.

20:34.550 --> 20:38.410
So that's kind of our plans for the next year.

20:38.710 --> 20:46.830
And as we said, I think we turned in something like 80-ish bug reports, VDPs, and bug bounty programs.

20:46.970 --> 20:55.010
But I think the reality is a much bigger team, a much deeper look at what we're looking at.

20:55.010 --> 21:00.490
I still think there's a lot more to find and exploit in this particular setup.

21:01.190 --> 21:07.790
But if you guys are interested in reporting your first bug, I highly recommend just download the tool.

21:07.890 --> 21:09.330
Gather some information.

21:09.890 --> 21:13.090
Maybe like 10% of the people ever responded.

21:13.430 --> 21:19.170
If you want your first bug, you're new to bug bounty or anything similar, use it, do it, report it.

21:19.170 --> 21:20.710
And thanks for coming to the talk.

21:20.710 --> 21:21.850
I appreciate it.

21:25.510 --> 21:29.570
And thank you for all the harassers in the front, kicking all of y'all out.

21:30.510 --> 21:33.590
So yeah, big shout out to everybody on the screen.

21:40.710 --> 21:43.070
I know Dan loves this picture.

21:46.570 --> 21:49.830
But yeah, happy to answer any questions y'all might have.

21:49.830 --> 21:52.750
And looking forward to doing it again next year.

21:52.890 --> 21:53.870
See you around.

