60 #define BUFFER_NAME "dce_stub_data"
64 static void DetectDceStubDataRegisterTests(
void);
66 static int g_dce_stub_data_buffer_id = 0;
70 Flow *_f,
const uint8_t flow_flags,
71 void *txv,
const int list_id)
75 uint32_t data_len = 0;
76 const uint8_t *data = NULL;
77 uint8_t dir = flow_flags & (STREAM_TOSERVER|STREAM_TOCLIENT);
78 if (rs_smb_tx_get_stub_data(txv, dir, &data, &data_len) != 1)
90 Flow *_f,
const uint8_t flow_flags,
91 void *txv,
const int list_id)
95 uint32_t data_len = 0;
96 const uint8_t *data = NULL;
99 rs_dcerpc_get_stub_data(txv, &data, &data_len, &endianness, flow_flags);
100 if (data == NULL || data_len == 0)
103 if (endianness > 0) {
176 static int DetectDceStubDataTestParse02(
void)
186 DCERPCState *dcerpc_state = NULL;
189 uint8_t dcerpc_bind[] = {
190 0x05, 0x00, 0x0b, 0x03, 0x10, 0x00, 0x00, 0x00,
191 0x48, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
192 0xb8, 0x10, 0xb8, 0x10, 0x00, 0x00, 0x00, 0x00,
193 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
194 0x6a, 0x28, 0x19, 0x39, 0x0c, 0xb1, 0xd0, 0x11,
195 0x9b, 0xa8, 0x00, 0xc0, 0x4f, 0xd9, 0x2e, 0xf5,
196 0x00, 0x00, 0x00, 0x00, 0x04, 0x5d, 0x88, 0x8a,
197 0xeb, 0x1c, 0xc9, 0x11, 0x9f, 0xe8, 0x08, 0x00,
198 0x2b, 0x10, 0x48, 0x60, 0x02, 0x00, 0x00, 0x00,
201 uint8_t dcerpc_bindack[] = {
202 0x05, 0x00, 0x0c, 0x03, 0x10, 0x00, 0x00, 0x00,
203 0x44, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
204 0xb8, 0x10, 0xb8, 0x10, 0x26, 0x3d, 0x00, 0x00,
205 0x0c, 0x00, 0x5c, 0x50, 0x49, 0x50, 0x45, 0x5c,
206 0x6c, 0x73, 0x61, 0x73, 0x73, 0x00, 0x00, 0x00,
207 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
208 0x04, 0x5d, 0x88, 0x8a, 0xeb, 0x1c, 0xc9, 0x11,
209 0x9f, 0xe8, 0x08, 0x00, 0x2b, 0x10, 0x48, 0x60,
210 0x02, 0x00, 0x00, 0x00
215 uint8_t dcerpc_request[] = {
216 0x05, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00, 0x00,
217 0xec, 0x0c, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
218 0xd4, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00,
219 0xe1, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
220 0xe1, 0x03, 0x00, 0x00, 0x83, 0xc7, 0x0b, 0x47,
221 0x47, 0x47, 0x47, 0x81, 0x37, 0x22, 0xa5, 0x9b,
222 0x4a, 0x75, 0xf4, 0xa3, 0x61, 0xd3, 0xbe, 0xdd,
223 0x5a, 0xfb, 0x20, 0x1e, 0xfc, 0x10, 0x8e, 0x0f,
224 0xa5, 0x9f, 0x4a, 0x22, 0x20, 0x9b, 0xa8, 0xd5,
225 0xc4, 0xff, 0xc1, 0x3f, 0xbd, 0x9b, 0x4a, 0x22,
226 0x2e, 0xc0, 0x7a, 0xa9, 0xfe, 0x97, 0xc9, 0xe1,
227 0xa9, 0xf3, 0x2f, 0x22, 0xc9, 0x9b, 0x22, 0x50,
228 0xa5, 0xf5, 0x4a, 0x4a, 0xce, 0x9b, 0x2f, 0x22,
229 0x2e, 0x6f, 0xc1, 0xe1, 0xf3, 0xa8, 0x83, 0xa2,
230 0x64, 0x98, 0xc1, 0x62, 0xa1, 0xa0, 0x89, 0x56,
231 0xa8, 0x1b, 0x8b, 0x2b, 0x2e, 0xe3, 0x7a, 0xd1,
232 0x03, 0xef, 0x58, 0x7c, 0x4e, 0x7d, 0x14, 0x76,
233 0xfa, 0xc3, 0x7f, 0x02, 0xa5, 0xbb, 0x4a, 0x89,
234 0x47, 0x6c, 0x12, 0xc9, 0x70, 0x18, 0x8e, 0x3a,
235 0x2e, 0xcb, 0x52, 0xa9, 0x67, 0x98, 0x0a, 0x1e,
236 0x2e, 0xc3, 0x32, 0x21, 0x7f, 0x10, 0x31, 0x3e,
237 0xa6, 0x61, 0xc1, 0x61, 0x85, 0x98, 0x88, 0xa9,
238 0xee, 0x83, 0x22, 0x51, 0xd6, 0xda, 0x4a, 0x4a,
239 0xc1, 0xff, 0x38, 0x47, 0xcd, 0xe9, 0x25, 0x41,
240 0xe4, 0xf3, 0x0d, 0x47, 0xd1, 0xcb, 0xc1, 0xd6,
241 0x1e, 0x95, 0x4a, 0x22, 0xa5, 0x73, 0x08, 0x22,
242 0xa5, 0x9b, 0xc9, 0xe6, 0xb5, 0xcd, 0x22, 0x43,
243 0xd7, 0xe2, 0x0b, 0x4a, 0xe9, 0xf2, 0x28, 0x50,
244 0xcd, 0xd7, 0x25, 0x43, 0xc1, 0x10, 0xbe, 0x99,
245 0xa9, 0x9b, 0x4a, 0x22, 0x4d, 0xb8, 0x4a, 0x22,
246 0xa5, 0x18, 0x8e, 0x2e, 0xf3, 0xc9, 0x22, 0x4e,
247 0xc9, 0x9b, 0x4a, 0x4a, 0x96, 0xa9, 0x64, 0x46,
248 0xcd, 0xec, 0x39, 0x10, 0xfa, 0xcf, 0xb5, 0x76,
249 0x81, 0x8f, 0xc9, 0xe6, 0xa9, 0x10, 0x82, 0x7c,
250 0xff, 0xc4, 0xa1, 0x0a, 0xf5, 0xcc, 0x1b, 0x74,
251 0xf4, 0x10, 0x81, 0xa9, 0x9d, 0x98, 0xb0, 0xa1,
252 0x65, 0x9f, 0xb9, 0x84, 0xd1, 0x9f, 0x13, 0x7c,
253 0x47, 0x76, 0x12, 0x7c, 0xfc, 0x10, 0xbb, 0x09,
254 0x55, 0x5a, 0xac, 0x20, 0xfa, 0x10, 0x7e, 0x15,
255 0xa6, 0x69, 0x12, 0xe1, 0xf7, 0xca, 0x22, 0x57,
256 0xd5, 0x9b, 0x4a, 0x4a, 0xd1, 0xfa, 0x38, 0x56,
257 0xcd, 0xcc, 0x19, 0x63, 0xf6, 0xf3, 0x2f, 0x56,
258 0xa5, 0x9b, 0x22, 0x51, 0xca, 0xf8, 0x21, 0x48,
259 0xa5, 0xf3, 0x28, 0x4b, 0xcb, 0xff, 0x22, 0x47,
260 0xcb, 0x9b, 0x4a, 0x4a, 0xc9, 0xf2, 0x39, 0x56,
261 0xcd, 0xeb, 0x3e, 0x22, 0xa5, 0xf3, 0x2b, 0x41,
262 0xc6, 0xfe, 0xc1, 0xfe, 0xf6, 0xca, 0xc9, 0xe1,
263 0xad, 0xc8, 0x1b, 0xa1, 0x66, 0x93, 0x19, 0x73,
264 0x26, 0x58, 0x42, 0x71, 0xf4, 0x18, 0x89, 0x2a,
265 0xf6, 0xca, 0xb5, 0xf5, 0x2c, 0xd8, 0x42, 0xdd,
266 0x72, 0x12, 0x09, 0x26, 0x5a, 0x4c, 0xc3, 0x21,
267 0x5a, 0x4c, 0xc3, 0x61, 0x59, 0x64, 0x9d, 0xab,
268 0xe6, 0x63, 0xc9, 0xc9, 0xad, 0x10, 0xa9, 0xa3,
269 0x49, 0x0b, 0x4b, 0x22, 0xa5, 0xcf, 0x22, 0x23,
270 0xa4, 0x9b, 0x4a, 0xdd, 0x31, 0xbf, 0xe2, 0x23,
271 0xa5, 0x9b, 0xcb, 0xe6, 0x35, 0x9a, 0x4a, 0x22,
272 0xcf, 0x9d, 0x20, 0x23, 0xcf, 0x99, 0xb5, 0x76,
273 0x81, 0x83, 0x20, 0x22, 0xcf, 0x9b, 0x20, 0x22,
274 0xcd, 0x99, 0x4a, 0xe6, 0x96, 0x10, 0x96, 0x71,
275 0xf6, 0xcb, 0x20, 0x23, 0xf5, 0xf1, 0x5a, 0x71,
276 0xf5, 0x64, 0x1e, 0x06, 0x9d, 0x64, 0x1e, 0x06,
277 0x8d, 0x5c, 0x49, 0x32, 0xa5, 0x9b, 0x4a, 0xdd,
278 0xf1, 0xbf, 0x56, 0xa1, 0x61, 0xbf, 0x13, 0x78,
279 0xf4, 0xc9, 0x1a, 0x11, 0x77, 0xc9, 0x22, 0x51,
280 0xc0, 0xf5, 0x2e, 0xa9, 0x61, 0xc9, 0x22, 0x50,
281 0xc0, 0xf8, 0x3c, 0xa9, 0x71, 0xc9, 0x1b, 0x72,
282 0xf4, 0x64, 0x9d, 0xb1, 0x5a, 0x4c, 0xdf, 0xa1,
283 0x61, 0x8b, 0x12, 0x78, 0xfc, 0xc8, 0x1f, 0x72,
284 0x2e, 0x77, 0x1a, 0x42, 0xcf, 0x9f, 0x10, 0x72,
285 0x2e, 0x47, 0xa2, 0x63, 0xa5, 0x9b, 0x4a, 0x48,
286 0xa5, 0xf3, 0x26, 0x4e, 0xca, 0xf8, 0x22, 0x57,
287 0xc4, 0xf7, 0x0b, 0x4a, 0xf3, 0xf2, 0x38, 0x56,
288 0xf1, 0xcd, 0xb5, 0xf5, 0x26, 0x5f, 0x5a, 0x78,
289 0xf7, 0xf1, 0x0a, 0x4a, 0xa5, 0x8b, 0x4a, 0x22,
290 0xf7, 0xf1, 0x4a, 0xdd, 0x75, 0x12, 0x0e, 0x06,
291 0x81, 0xc1, 0xd9, 0xca, 0xb5, 0x9b, 0x4a, 0x22,
292 0xc4, 0xc0, 0xb5, 0xc1, 0xc5, 0xa8, 0x8a, 0x92,
293 0xa1, 0x73, 0x5c, 0x22, 0xa5, 0x9b, 0x2b, 0xe1,
294 0xc5, 0xc9, 0x19, 0x11, 0x65, 0x73, 0x40, 0x22,
295 0xa5, 0x9b, 0x11, 0x78, 0xa6, 0x43, 0x61, 0xf2,
296 0xd0, 0x74, 0x2b, 0xe1, 0x96, 0x52, 0x1b, 0x70,
297 0xf6, 0x64, 0x3f, 0x22, 0x5a, 0xcf, 0x4f, 0x26,
298 0x20, 0x5b, 0x34, 0x23, 0x66, 0x64, 0x1f, 0xd2,
299 0xa5, 0x9b, 0x4a, 0x22, 0xa5, 0x9b, 0x4a, 0x41,
300 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
301 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
302 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
303 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
304 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
305 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
306 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
307 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
308 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
309 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
310 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
311 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
312 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
313 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
314 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
315 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
316 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
317 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
318 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
319 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
320 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
321 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
322 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
323 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
324 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
325 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
326 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
327 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
328 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
329 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
330 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
331 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
332 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
333 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
334 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
335 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
336 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
337 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
338 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
339 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
340 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
341 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
342 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
343 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
344 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
345 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
346 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
347 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
348 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
349 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
350 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
351 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
352 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
353 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
354 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
355 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
356 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
357 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
358 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
359 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
360 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
361 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
362 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
363 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
364 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
365 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
366 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
367 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
368 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
369 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
370 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
371 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
372 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
373 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
374 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
375 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
376 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
377 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
378 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
379 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
380 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
381 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
382 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
383 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
384 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
385 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
386 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
387 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
388 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
389 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
390 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
391 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
392 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
393 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
394 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
395 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
396 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
397 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
398 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
399 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
400 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
401 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
402 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
403 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
404 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
405 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
406 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
407 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
408 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
409 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
410 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
411 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
412 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
413 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
414 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
415 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
416 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
417 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
418 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
419 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
420 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
421 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
422 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
423 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
424 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
425 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
426 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
427 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
428 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
429 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
430 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
431 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
432 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
433 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
434 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
435 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
436 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
437 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
438 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
439 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
440 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
441 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
442 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
443 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
444 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
445 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
446 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
447 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
448 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
449 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
450 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
451 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
452 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
453 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
454 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
455 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
456 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
457 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
458 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
459 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
460 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
461 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
462 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x54, 0x58,
463 0x2d, 0x6f, 0x41, 0x3f, 0x3f, 0x2d, 0x6f, 0x41,
464 0x3f, 0x3f, 0x2d, 0x6f, 0x41, 0x3f, 0x3f, 0x2d,
465 0x6f, 0x43, 0x42, 0x42, 0x50, 0x5f, 0x57, 0xc3,
466 0x33, 0x5f, 0x37, 0x74, 0x78, 0x78, 0x78, 0x78,
467 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
468 0xeb, 0xd4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
469 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00,
470 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00,
471 0x53, 0x69, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65,
472 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00,
473 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00,
474 0x44, 0x73, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
475 0x73, 0x65, 0x50, 0x61, 0x74, 0x68, 0x00, 0x00,
476 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00,
477 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00,
478 0x44, 0x73, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x74,
479 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
480 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
481 0x0b, 0x00, 0x00, 0x00, 0x53, 0x79, 0x73, 0x74,
482 0x65, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
483 0x52, 0x6f, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x68,
484 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
485 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
486 0x0b, 0x00, 0x00, 0x00, 0x50, 0x61, 0x72, 0x65,
487 0x6e, 0x74, 0x44, 0x6e, 0x73, 0x44, 0x6f, 0x6d,
488 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x00,
489 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
490 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
491 0x07, 0x00, 0x00, 0x00, 0x50, 0x61, 0x72, 0x65,
492 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
493 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
494 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
495 0x05, 0x00, 0x00, 0x00, 0x41, 0x63, 0x63, 0x6f,
496 0x75, 0x6e, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00,
497 0x72, 0x65, 0x66, 0x31, 0x41, 0x41, 0x41, 0x41,
498 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
499 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
500 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
501 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
502 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
503 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
504 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
505 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
506 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
507 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
508 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
509 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
510 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
511 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
512 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
513 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
514 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
515 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
516 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
517 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
518 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
519 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
520 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
521 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
522 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
523 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
524 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
525 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
526 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
527 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
528 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
529 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
530 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
531 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
532 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
533 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
534 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
535 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
536 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
537 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
538 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
539 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
540 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
541 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
542 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
543 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
544 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
545 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
546 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
547 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
548 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
549 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
550 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
551 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
552 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
553 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
554 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
555 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
556 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
557 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
558 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
559 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
560 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
561 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
562 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
563 0x72, 0x65, 0x66, 0x32, 0x42, 0x42, 0x42, 0x42,
564 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
565 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
566 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
567 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
568 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
569 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
570 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
571 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
572 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
573 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
574 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
575 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
576 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
577 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
578 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
579 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
580 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
581 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
582 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
583 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
584 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
585 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
586 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
587 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
588 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
589 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
590 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
591 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
592 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
593 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
594 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
595 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
596 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
597 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
598 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
599 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
600 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
601 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
602 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
603 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
604 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
605 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
606 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
607 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
608 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
609 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
610 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
611 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
612 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
613 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
614 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
615 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
616 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
617 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
618 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
619 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
620 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
621 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
622 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
623 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
624 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
625 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
626 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
627 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
628 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
629 0x01, 0x02, 0x03, 0x04
632 uint32_t dcerpc_bind_len =
sizeof(dcerpc_bind);
633 uint32_t dcerpc_bindack_len =
sizeof(dcerpc_bindack);
634 uint32_t dcerpc_request_len =
sizeof(dcerpc_request);
637 memset(&th_v, 0,
sizeof(th_v));
638 memset(&f, 0,
sizeof(f));
639 memset(&ssn, 0,
sizeof(ssn));
645 f.
proto = IPPROTO_TCP;
661 "alert tcp any any -> any any "
663 "dce_stub_data; content:\"|42 42 42 42|\";"
672 STREAM_TOSERVER | STREAM_START, dcerpc_bind,
675 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
680 if (dcerpc_state == NULL) {
696 STREAM_TOCLIENT, dcerpc_bindack,
699 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
713 STREAM_TOSERVER | STREAM_EOF, dcerpc_request,
716 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
750 static int DetectDceStubDataTestParse03(
void)
759 DCERPCState *dcerpc_state = NULL;
764 uint8_t dcerpc_request[] = {
765 0x05, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00, 0x00,
766 0xec, 0x0c, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
767 0xd4, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00,
768 0xe1, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
769 0xe1, 0x03, 0x00, 0x00, 0x83, 0xc7, 0x0b, 0x47,
770 0x47, 0x47, 0x47, 0x81, 0x37, 0x22, 0xa5, 0x9b,
771 0x4a, 0x75, 0xf4, 0xa3, 0x61, 0xd3, 0xbe, 0xdd,
772 0x5a, 0xfb, 0x20, 0x1e, 0xfc, 0x10, 0x8e, 0x0f,
773 0xa5, 0x9f, 0x4a, 0x22, 0x20, 0x9b, 0xa8, 0xd5,
774 0xc4, 0xff, 0xc1, 0x3f, 0xbd, 0x9b, 0x4a, 0x22,
775 0x2e, 0xc0, 0x7a, 0xa9, 0xfe, 0x97, 0xc9, 0xe1,
776 0xa9, 0xf3, 0x2f, 0x22, 0xc9, 0x9b, 0x22, 0x50,
777 0xa5, 0xf5, 0x4a, 0x4a, 0xce, 0x9b, 0x2f, 0x22,
778 0x2e, 0x6f, 0xc1, 0xe1, 0xf3, 0xa8, 0x83, 0xa2,
779 0x64, 0x98, 0xc1, 0x62, 0xa1, 0xa0, 0x89, 0x56,
780 0xa8, 0x1b, 0x8b, 0x2b, 0x2e, 0xe3, 0x7a, 0xd1,
781 0x03, 0xef, 0x58, 0x7c, 0x4e, 0x7d, 0x14, 0x76,
782 0xfa, 0xc3, 0x7f, 0x02, 0xa5, 0xbb, 0x4a, 0x89,
783 0x47, 0x6c, 0x12, 0xc9, 0x70, 0x18, 0x8e, 0x3a,
784 0x2e, 0xcb, 0x52, 0xa9, 0x67, 0x98, 0x0a, 0x1e,
785 0x2e, 0xc3, 0x32, 0x21, 0x7f, 0x10, 0x31, 0x3e,
786 0xa6, 0x61, 0xc1, 0x61, 0x85, 0x98, 0x88, 0xa9,
787 0xee, 0x83, 0x22, 0x51, 0xd6, 0xda, 0x4a, 0x4a,
788 0xc1, 0xff, 0x38, 0x47, 0xcd, 0xe9, 0x25, 0x41,
789 0xe4, 0xf3, 0x0d, 0x47, 0xd1, 0xcb, 0xc1, 0xd6,
790 0x1e, 0x95, 0x4a, 0x22, 0xa5, 0x73, 0x08, 0x22,
791 0xa5, 0x9b, 0xc9, 0xe6, 0xb5, 0xcd, 0x22, 0x43,
792 0xd7, 0xe2, 0x0b, 0x4a, 0xe9, 0xf2, 0x28, 0x50,
793 0xcd, 0xd7, 0x25, 0x43, 0xc1, 0x10, 0xbe, 0x99,
794 0xa9, 0x9b, 0x4a, 0x22, 0x4d, 0xb8, 0x4a, 0x22,
795 0xa5, 0x18, 0x8e, 0x2e, 0xf3, 0xc9, 0x22, 0x4e,
796 0xc9, 0x9b, 0x4a, 0x4a, 0x96, 0xa9, 0x64, 0x46,
797 0xcd, 0xec, 0x39, 0x10, 0xfa, 0xcf, 0xb5, 0x76,
798 0x81, 0x8f, 0xc9, 0xe6, 0xa9, 0x10, 0x82, 0x7c,
799 0xff, 0xc4, 0xa1, 0x0a, 0xf5, 0xcc, 0x1b, 0x74,
800 0xf4, 0x10, 0x81, 0xa9, 0x9d, 0x98, 0xb0, 0xa1,
801 0x65, 0x9f, 0xb9, 0x84, 0xd1, 0x9f, 0x13, 0x7c,
802 0x47, 0x76, 0x12, 0x7c, 0xfc, 0x10, 0xbb, 0x09,
803 0x55, 0x5a, 0xac, 0x20, 0xfa, 0x10, 0x7e, 0x15,
804 0xa6, 0x69, 0x12, 0xe1, 0xf7, 0xca, 0x22, 0x57,
805 0xd5, 0x9b, 0x4a, 0x4a, 0xd1, 0xfa, 0x38, 0x56,
806 0xcd, 0xcc, 0x19, 0x63, 0xf6, 0xf3, 0x2f, 0x56,
807 0xa5, 0x9b, 0x22, 0x51, 0xca, 0xf8, 0x21, 0x48,
808 0xa5, 0xf3, 0x28, 0x4b, 0xcb, 0xff, 0x22, 0x47,
809 0xcb, 0x9b, 0x4a, 0x4a, 0xc9, 0xf2, 0x39, 0x56,
810 0xcd, 0xeb, 0x3e, 0x22, 0xa5, 0xf3, 0x2b, 0x41,
811 0xc6, 0xfe, 0xc1, 0xfe, 0xf6, 0xca, 0xc9, 0xe1,
812 0xad, 0xc8, 0x1b, 0xa1, 0x66, 0x93, 0x19, 0x73,
813 0x26, 0x58, 0x42, 0x71, 0xf4, 0x18, 0x89, 0x2a,
814 0xf6, 0xca, 0xb5, 0xf5, 0x2c, 0xd8, 0x42, 0xdd,
815 0x72, 0x12, 0x09, 0x26, 0x5a, 0x4c, 0xc3, 0x21,
816 0x5a, 0x4c, 0xc3, 0x61, 0x59, 0x64, 0x9d, 0xab,
817 0xe6, 0x63, 0xc9, 0xc9, 0xad, 0x10, 0xa9, 0xa3,
818 0x49, 0x0b, 0x4b, 0x22, 0xa5, 0xcf, 0x22, 0x23,
819 0xa4, 0x9b, 0x4a, 0xdd, 0x31, 0xbf, 0xe2, 0x23,
820 0xa5, 0x9b, 0xcb, 0xe6, 0x35, 0x9a, 0x4a, 0x22,
821 0xcf, 0x9d, 0x20, 0x23, 0xcf, 0x99, 0xb5, 0x76,
822 0x81, 0x83, 0x20, 0x22, 0xcf, 0x9b, 0x20, 0x22,
823 0xcd, 0x99, 0x4a, 0xe6, 0x96, 0x10, 0x96, 0x71,
824 0xf6, 0xcb, 0x20, 0x23, 0xf5, 0xf1, 0x5a, 0x71,
825 0xf5, 0x64, 0x1e, 0x06, 0x9d, 0x64, 0x1e, 0x06,
826 0x8d, 0x5c, 0x49, 0x32, 0xa5, 0x9b, 0x4a, 0xdd,
827 0xf1, 0xbf, 0x56, 0xa1, 0x61, 0xbf, 0x13, 0x78,
828 0xf4, 0xc9, 0x1a, 0x11, 0x77, 0xc9, 0x22, 0x51,
829 0xc0, 0xf5, 0x2e, 0xa9, 0x61, 0xc9, 0x22, 0x50,
830 0xc0, 0xf8, 0x3c, 0xa9, 0x71, 0xc9, 0x1b, 0x72,
831 0xf4, 0x64, 0x9d, 0xb1, 0x5a, 0x4c, 0xdf, 0xa1,
832 0x61, 0x8b, 0x12, 0x78, 0xfc, 0xc8, 0x1f, 0x72,
833 0x2e, 0x77, 0x1a, 0x42, 0xcf, 0x9f, 0x10, 0x72,
834 0x2e, 0x47, 0xa2, 0x63, 0xa5, 0x9b, 0x4a, 0x48,
835 0xa5, 0xf3, 0x26, 0x4e, 0xca, 0xf8, 0x22, 0x57,
836 0xc4, 0xf7, 0x0b, 0x4a, 0xf3, 0xf2, 0x38, 0x56,
837 0xf1, 0xcd, 0xb5, 0xf5, 0x26, 0x5f, 0x5a, 0x78,
838 0xf7, 0xf1, 0x0a, 0x4a, 0xa5, 0x8b, 0x4a, 0x22,
839 0xf7, 0xf1, 0x4a, 0xdd, 0x75, 0x12, 0x0e, 0x06,
840 0x81, 0xc1, 0xd9, 0xca, 0xb5, 0x9b, 0x4a, 0x22,
841 0xc4, 0xc0, 0xb5, 0xc1, 0xc5, 0xa8, 0x8a, 0x92,
842 0xa1, 0x73, 0x5c, 0x22, 0xa5, 0x9b, 0x2b, 0xe1,
843 0xc5, 0xc9, 0x19, 0x11, 0x65, 0x73, 0x40, 0x22,
844 0xa5, 0x9b, 0x11, 0x78, 0xa6, 0x43, 0x61, 0xf2,
845 0xd0, 0x74, 0x2b, 0xe1, 0x96, 0x52, 0x1b, 0x70,
846 0xf6, 0x64, 0x3f, 0x22, 0x5a, 0xcf, 0x4f, 0x26,
847 0x20, 0x5b, 0x34, 0x23, 0x66, 0x64, 0x1f, 0xd2,
848 0xa5, 0x9b, 0x4a, 0x22, 0xa5, 0x9b, 0x4a, 0x41,
849 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
850 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
851 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
852 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
853 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
854 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
855 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
856 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
857 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
858 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
859 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
860 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
861 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
862 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
863 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
864 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
865 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
866 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
867 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
868 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
869 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
870 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
871 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
872 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
873 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
874 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
875 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
876 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
877 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
878 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
879 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
880 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
881 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
882 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
883 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
884 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
885 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
886 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
887 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
888 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
889 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
890 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
891 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
892 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
893 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
894 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
895 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
896 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
897 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
898 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
899 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
900 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
901 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
902 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
903 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
904 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
905 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
906 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
907 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
908 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
909 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
910 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
911 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
912 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
913 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
914 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
915 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
916 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
917 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
918 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
919 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
920 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
921 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
922 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
923 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
924 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
925 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
926 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
927 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
928 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
929 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
930 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
931 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
932 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
933 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
934 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
935 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
936 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
937 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
938 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
939 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
940 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
941 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
942 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
943 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
944 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
945 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
946 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
947 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
948 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
949 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
950 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
951 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
952 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
953 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
954 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
955 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
956 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
957 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
958 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
959 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
960 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
961 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
962 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
963 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
964 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
965 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
966 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
967 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
968 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
969 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
970 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
971 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
972 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
973 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
974 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
975 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
976 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
977 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
978 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
979 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
980 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
981 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
982 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
983 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
984 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
985 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
986 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
987 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
988 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
989 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
990 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
991 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
992 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
993 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
994 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
995 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
996 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
997 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
998 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
999 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1000 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1001 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1002 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1003 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1004 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1005 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1006 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1007 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1008 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1009 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1010 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1011 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x54, 0x58,
1012 0x2d, 0x6f, 0x41, 0x3f, 0x3f, 0x2d, 0x6f, 0x41,
1013 0x3f, 0x3f, 0x2d, 0x6f, 0x41, 0x3f, 0x3f, 0x2d,
1014 0x6f, 0x43, 0x42, 0x42, 0x50, 0x5f, 0x57, 0xc3,
1015 0x33, 0x5f, 0x37, 0x74, 0x78, 0x78, 0x78, 0x78,
1016 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78, 0x78,
1017 0xeb, 0xd4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1018 0x01, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00,
1019 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00,
1020 0x53, 0x69, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65,
1021 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00,
1022 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00,
1023 0x44, 0x73, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
1024 0x73, 0x65, 0x50, 0x61, 0x74, 0x68, 0x00, 0x00,
1025 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00,
1026 0x00, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00,
1027 0x44, 0x73, 0x4c, 0x6f, 0x67, 0x50, 0x61, 0x74,
1028 0x68, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1029 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1030 0x0b, 0x00, 0x00, 0x00, 0x53, 0x79, 0x73, 0x74,
1031 0x65, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
1032 0x52, 0x6f, 0x6f, 0x74, 0x50, 0x61, 0x74, 0x68,
1033 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
1034 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1035 0x0b, 0x00, 0x00, 0x00, 0x50, 0x61, 0x72, 0x65,
1036 0x6e, 0x74, 0x44, 0x6e, 0x73, 0x44, 0x6f, 0x6d,
1037 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x00,
1038 0x00, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
1039 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1040 0x07, 0x00, 0x00, 0x00, 0x50, 0x61, 0x72, 0x65,
1041 0x6e, 0x74, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72,
1042 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
1043 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1044 0x05, 0x00, 0x00, 0x00, 0x41, 0x63, 0x63, 0x6f,
1045 0x75, 0x6e, 0x74, 0x00, 0x00, 0x00, 0x00, 0x00,
1046 0x72, 0x65, 0x66, 0x31, 0x41, 0x41, 0x41, 0x41,
1047 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1048 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1049 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1050 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1051 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1052 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1053 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1054 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1055 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1056 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1057 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1058 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1059 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1060 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1061 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1062 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1063 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1064 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1065 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1066 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1067 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1068 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1069 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1070 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1071 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1072 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1073 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1074 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1075 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1076 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1077 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1078 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1079 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1080 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1081 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1082 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1083 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1084 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1085 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1086 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1087 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1088 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1089 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1090 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1091 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1092 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1093 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1094 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1095 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1096 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1097 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1098 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1099 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1100 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1101 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1102 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1103 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1104 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1105 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1106 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1107 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1108 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1109 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1110 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1111 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41,
1112 0x72, 0x65, 0x66, 0x32, 0x42, 0x42, 0x42, 0x42,
1113 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1114 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1115 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1116 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1117 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1118 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1119 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1120 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1121 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1122 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1123 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1124 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1125 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1126 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1127 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1128 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1129 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1130 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1131 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1132 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1133 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1134 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1135 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1136 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1137 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1138 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1139 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1140 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1141 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1142 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1143 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1144 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1145 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1146 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1147 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1148 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1149 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1150 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1151 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1152 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1153 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1154 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1155 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1156 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1157 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1158 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1159 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1160 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1161 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1162 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1163 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1164 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1165 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1166 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1167 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1168 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1169 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1170 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1171 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1172 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1173 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1174 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1175 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1176 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1177 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42, 0x42,
1178 0x01, 0x02, 0x03, 0x04
1181 uint32_t dcerpc_request_len =
sizeof(dcerpc_request);
1185 memset(&th_v, 0,
sizeof(th_v));
1186 memset(&f, 0,
sizeof(f));
1187 memset(&ssn, 0,
sizeof(ssn));
1193 f.
proto = IPPROTO_TCP;
1208 "alert tcp any any -> any any "
1210 "dce_stub_data; content:\"|42 42 42 42|\";"
1218 STREAM_TOSERVER | STREAM_START, dcerpc_request,
1219 dcerpc_request_len);
1223 FAIL_IF (dcerpc_state == NULL);
1242 static int DetectDceStubDataTestParse04(
void)
1252 DCERPCState *dcerpc_state = NULL;
1255 uint8_t dcerpc_bind[] = {
1256 0x05, 0x00, 0x0b, 0x03, 0x10, 0x00, 0x00, 0x00,
1257 0x48, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1258 0xb8, 0x10, 0xb8, 0x10, 0x00, 0x00, 0x00, 0x00,
1259 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,
1260 0x01, 0xd0, 0x8c, 0x33, 0x44, 0x22, 0xf1, 0x31,
1261 0xaa, 0xaa, 0x90, 0x00, 0x38, 0x00, 0x10, 0x03,
1262 0x01, 0x00, 0x00, 0x00, 0x04, 0x5d, 0x88, 0x8a,
1263 0xeb, 0x1c, 0xc9, 0x11, 0x9f, 0xe8, 0x08, 0x00,
1264 0x2b, 0x10, 0x48, 0x60, 0x02, 0x00, 0x00, 0x00,
1267 uint8_t dcerpc_bindack[] = {
1268 0x05, 0x00, 0x0c, 0x03, 0x10, 0x00, 0x00, 0x00,
1269 0x44, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1270 0xb8, 0x10, 0xb8, 0x10, 0x65, 0x8e, 0x00, 0x00,
1271 0x0d, 0x00, 0x5c, 0x50, 0x49, 0x50, 0x45, 0x5c,
1272 0x77, 0x69, 0x6e, 0x72, 0x65, 0x67, 0x00, 0x6d,
1273 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1274 0x04, 0x5d, 0x88, 0x8a, 0xeb, 0x1c, 0xc9, 0x11,
1275 0x9f, 0xe8, 0x08, 0x00, 0x2b, 0x10, 0x48, 0x60,
1276 0x02, 0x00, 0x00, 0x00,
1279 uint8_t dcerpc_request1[] = {
1280 0x05, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00, 0x00,
1281 0x24, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1282 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
1283 0x2c, 0xfd, 0xb5, 0x00, 0x40, 0xaa, 0x01, 0x00,
1284 0x00, 0x00, 0x00, 0x02,
1287 uint8_t dcerpc_response1[] = {
1288 0x05, 0x00, 0x02, 0x03, 0x10, 0x00, 0x00, 0x00,
1289 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1290 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1291 0x00, 0x00, 0x00, 0x00, 0xf6, 0x72, 0x28, 0x9c,
1292 0xf0, 0x57, 0xd8, 0x11, 0xb0, 0x05, 0x00, 0x0c,
1293 0x29, 0x87, 0xea, 0xe9, 0x00, 0x00, 0x00, 0x00,
1296 uint8_t dcerpc_request2[] = {
1297 0x05, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00, 0x00,
1298 0xa4, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
1299 0x8c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00,
1300 0x00, 0x00, 0x00, 0x00, 0xf6, 0x72, 0x28, 0x9c,
1301 0xf0, 0x57, 0xd8, 0x11, 0xb0, 0x05, 0x00, 0x0c,
1302 0x29, 0x87, 0xea, 0xe9, 0x5c, 0x00, 0x5c, 0x00,
1303 0xa8, 0xb9, 0x14, 0x00, 0x2e, 0x00, 0x00, 0x00,
1304 0x00, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x00,
1305 0x53, 0x00, 0x4f, 0x00, 0x46, 0x00, 0x54, 0x00,
1306 0x57, 0x00, 0x41, 0x00, 0x52, 0x00, 0x45, 0x00,
1307 0x5c, 0x00, 0x4d, 0x00, 0x69, 0x00, 0x63, 0x00,
1308 0x72, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x6f, 0x00,
1309 0x66, 0x00, 0x74, 0x00, 0x5c, 0x00, 0x57, 0x00,
1310 0x69, 0x00, 0x6e, 0x00, 0x64, 0x00, 0x6f, 0x00,
1311 0x77, 0x00, 0x73, 0x00, 0x5c, 0x00, 0x43, 0x00,
1312 0x75, 0x00, 0x72, 0x00, 0x72, 0x00, 0x65, 0x00,
1313 0x6e, 0x00, 0x74, 0x00, 0x56, 0x00, 0x65, 0x00,
1314 0x72, 0x00, 0x73, 0x00, 0x69, 0x00, 0x6f, 0x00,
1315 0x6e, 0x00, 0x5c, 0x00, 0x52, 0x00, 0x75, 0x00,
1316 0x6e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1317 0x03, 0x00, 0x00, 0x00,
1320 uint8_t dcerpc_response2[] = {
1321 0x05, 0x00, 0x02, 0x03, 0x10, 0x00, 0x00, 0x00,
1322 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
1323 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1324 0x00, 0x00, 0x00, 0x00, 0xf7, 0x72, 0x28, 0x9c,
1325 0xf0, 0x57, 0xd8, 0x11, 0xb0, 0x05, 0x00, 0x0c,
1326 0x29, 0x87, 0xea, 0xe9, 0x00, 0x00, 0x00, 0x00,
1329 uint8_t dcerpc_request3[] = {
1330 0x05, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00, 0x00,
1331 0x70, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
1332 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0x00,
1333 0x00, 0x00, 0x00, 0x00, 0xf7, 0x72, 0x28, 0x9c,
1334 0xf0, 0x57, 0xd8, 0x11, 0xb0, 0x05, 0x00, 0x0c,
1335 0x29, 0x87, 0xea, 0xe9, 0x0c, 0x00, 0x0c, 0x00,
1336 0x98, 0xda, 0x14, 0x00, 0x06, 0x00, 0x00, 0x00,
1337 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
1338 0x4f, 0x00, 0x73, 0x00, 0x61, 0x00, 0x33, 0x00,
1339 0x32, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1340 0x18, 0x00, 0x00, 0x00, 0x4e, 0x00, 0x54, 0x00,
1341 0x4f, 0x00, 0x53, 0x00, 0x41, 0x00, 0x33, 0x00,
1342 0x32, 0x00, 0x2e, 0x00, 0x45, 0x00, 0x58, 0x00,
1343 0x45, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
1346 uint8_t dcerpc_response3[] = {
1347 0x05, 0x00, 0x02, 0x03, 0x10, 0x00, 0x00, 0x00,
1348 0x1c, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
1349 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1350 0x00, 0x00, 0x00, 0x00,
1353 uint32_t dcerpc_bind_len =
sizeof(dcerpc_bind);
1354 uint32_t dcerpc_bindack_len =
sizeof(dcerpc_bindack);
1356 uint32_t dcerpc_request1_len =
sizeof(dcerpc_request1);
1357 uint32_t dcerpc_response1_len =
sizeof(dcerpc_response1);
1359 uint32_t dcerpc_request2_len =
sizeof(dcerpc_request2);
1360 uint32_t dcerpc_response2_len =
sizeof(dcerpc_response2);
1362 uint32_t dcerpc_request3_len =
sizeof(dcerpc_request3);
1363 uint32_t dcerpc_response3_len =
sizeof(dcerpc_response3);
1367 memset(&th_v, 0,
sizeof(th_v));
1368 memset(&f, 0,
sizeof(f));
1369 memset(&ssn, 0,
sizeof(ssn));
1375 f.
proto = IPPROTO_TCP;
1391 "(msg:\"DCERPC\"; dce_stub_data; content:\"|00 02|\"; sid:1;)");
1395 "(msg:\"DCERPC\"; dce_stub_data; content:\"|00 75|\"; sid:2;)");
1399 "(msg:\"DCERPC\"; dce_stub_data; content:\"|00 18|\"; sid:3;)");
1407 STREAM_TOSERVER | STREAM_START, dcerpc_bind,
1410 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1418 if (dcerpc_state == NULL) {
1424 STREAM_TOCLIENT, dcerpc_bindack,
1425 dcerpc_bindack_len);
1427 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1436 STREAM_TOSERVER, dcerpc_request1,
1437 dcerpc_request1_len);
1439 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1453 STREAM_TOCLIENT, dcerpc_response1,
1454 dcerpc_response1_len);
1456 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1470 STREAM_TOSERVER, dcerpc_request2,
1471 dcerpc_request2_len);
1473 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1487 STREAM_TOCLIENT, dcerpc_response2,
1488 dcerpc_response2_len);
1490 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1503 STREAM_TOSERVER, dcerpc_request3,
1504 dcerpc_request3_len);
1506 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1520 STREAM_TOCLIENT | STREAM_EOF, dcerpc_response3,
1521 dcerpc_response3_len);
1523 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1553 static int DetectDceStubDataTestParse05(
void)
1563 DCERPCState *dcerpc_state = NULL;
1566 uint8_t dcerpc_request1[] = {
1567 0x05, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00, 0x00,
1568 0x24, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1569 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
1570 0x2c, 0xfd, 0xb5, 0x00, 0x40, 0xaa, 0x01, 0x00,
1571 0x00, 0x00, 0x00, 0x02,
1574 uint8_t dcerpc_response1[] = {
1575 0x05, 0x00, 0x02, 0x03, 0x10, 0x00, 0x00, 0x00,
1576 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1577 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1578 0x00, 0x00, 0x00, 0x00, 0xf6, 0x72, 0x28, 0x9c,
1579 0xf0, 0x57, 0xd8, 0x11, 0xb0, 0x05, 0x00, 0x0c,
1580 0x29, 0x87, 0xea, 0xe9, 0x00, 0x00, 0x00, 0x00,
1583 uint8_t dcerpc_request2[] = {
1584 0x05, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00, 0x00,
1585 0xa4, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
1586 0x8c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0f, 0x00,
1587 0x00, 0x00, 0x00, 0x00, 0xf6, 0x72, 0x28, 0x9c,
1588 0xf0, 0x57, 0xd8, 0x11, 0xb0, 0x05, 0x00, 0x0c,
1589 0x29, 0x87, 0xea, 0xe9, 0x5c, 0x00, 0x5c, 0x00,
1590 0xa8, 0xb9, 0x14, 0x00, 0x2e, 0x00, 0x00, 0x00,
1591 0x00, 0x00, 0x00, 0x00, 0x2e, 0x00, 0x00, 0x00,
1592 0x53, 0x00, 0x4f, 0x00, 0x46, 0x00, 0x54, 0x00,
1593 0x57, 0x00, 0x41, 0x00, 0x52, 0x00, 0x45, 0x00,
1594 0x5c, 0x00, 0x4d, 0x00, 0x69, 0x00, 0x63, 0x00,
1595 0x72, 0x00, 0x6f, 0x00, 0x73, 0x00, 0x6f, 0x00,
1596 0x66, 0x00, 0x74, 0x00, 0x5c, 0x00, 0x57, 0x00,
1597 0x69, 0x00, 0x6e, 0x00, 0x64, 0x00, 0x6f, 0x00,
1598 0x77, 0x00, 0x73, 0x00, 0x5c, 0x00, 0x43, 0x00,
1599 0x75, 0x00, 0x72, 0x00, 0x72, 0x00, 0x65, 0x00,
1600 0x6e, 0x00, 0x74, 0x00, 0x56, 0x00, 0x65, 0x00,
1601 0x72, 0x00, 0x73, 0x00, 0x69, 0x00, 0x6f, 0x00,
1602 0x6e, 0x00, 0x5c, 0x00, 0x52, 0x00, 0x75, 0x00,
1603 0x6e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1604 0x03, 0x00, 0x00, 0x00,
1607 uint8_t dcerpc_response2[] = {
1608 0x05, 0x00, 0x02, 0x03, 0x10, 0x00, 0x00, 0x00,
1609 0x30, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00,
1610 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1611 0x00, 0x00, 0x00, 0x00, 0xf7, 0x72, 0x28, 0x9c,
1612 0xf0, 0x57, 0xd8, 0x11, 0xb0, 0x05, 0x00, 0x0c,
1613 0x29, 0x87, 0xea, 0xe9, 0x00, 0x00, 0x00, 0x00,
1616 uint8_t dcerpc_request3[] = {
1617 0x05, 0x00, 0x00, 0x03, 0x10, 0x00, 0x00, 0x00,
1618 0x70, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
1619 0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x16, 0x00,
1620 0x00, 0x00, 0x00, 0x00, 0xf7, 0x72, 0x28, 0x9c,
1621 0xf0, 0x57, 0xd8, 0x11, 0xb0, 0x05, 0x00, 0x0c,
1622 0x29, 0x87, 0xea, 0xe9, 0x0c, 0x00, 0x0c, 0x00,
1623 0x98, 0xda, 0x14, 0x00, 0x06, 0x00, 0x00, 0x00,
1624 0x00, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00,
1625 0x4f, 0x00, 0x73, 0x00, 0x61, 0x00, 0x33, 0x00,
1626 0x32, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
1627 0x18, 0x00, 0x00, 0x00, 0x4e, 0x00, 0x54, 0x00,
1628 0x4f, 0x00, 0x53, 0x00, 0x41, 0x00, 0x33, 0x00,
1629 0x32, 0x00, 0x2e, 0x00, 0x45, 0x00, 0x58, 0x00,
1630 0x45, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
1633 uint8_t dcerpc_response3[] = {
1634 0x05, 0x00, 0x02, 0x03, 0x10, 0x00, 0x00, 0x00,
1635 0x1c, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00,
1636 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1637 0x00, 0x00, 0x00, 0x00,
1640 uint32_t dcerpc_request1_len =
sizeof(dcerpc_request1);
1641 uint32_t dcerpc_response1_len =
sizeof(dcerpc_response1);
1643 uint32_t dcerpc_request2_len =
sizeof(dcerpc_request2);
1644 uint32_t dcerpc_response2_len =
sizeof(dcerpc_response2);
1646 uint32_t dcerpc_request3_len =
sizeof(dcerpc_request3);
1647 uint32_t dcerpc_response3_len =
sizeof(dcerpc_response3);
1651 memset(&th_v, 0,
sizeof(th_v));
1652 memset(&f, 0,
sizeof(f));
1653 memset(&ssn, 0,
sizeof(ssn));
1659 f.
proto = IPPROTO_TCP;
1675 "alert tcp any any -> any any "
1677 "dce_stub_data; content:\"|00 02|\"; "
1682 "alert tcp any any -> any any "
1684 "dce_stub_data; content:\"|00 75|\"; "
1689 "alert tcp any any -> any any "
1691 "dce_stub_data; content:\"|00 18|\"; "
1701 STREAM_TOSERVER | STREAM_START, dcerpc_request1,
1702 dcerpc_request1_len);
1704 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1709 if (dcerpc_state == NULL) {
1724 STREAM_TOCLIENT, dcerpc_response1,
1725 dcerpc_response1_len);
1727 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1741 STREAM_TOSERVER, dcerpc_request2,
1742 dcerpc_request2_len);
1744 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1758 STREAM_TOCLIENT, dcerpc_response2,
1759 dcerpc_response2_len);
1761 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1775 STREAM_TOSERVER, dcerpc_request3,
1776 dcerpc_request3_len);
1778 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1792 STREAM_TOCLIENT | STREAM_EOF, dcerpc_response3,
1793 dcerpc_response3_len);
1795 SCLogDebug(
"AppLayerParse for dcerpc failed. Returned %" PRId32, r);
1827 static int DetectDceStubDataTestParse06(
void)
1833 "alert dns any any -> any any dce_stub_data;content:\"0\";");
1839 static void DetectDceStubDataRegisterTests(
void)
1842 DetectDceStubDataTestParse02);
1844 DetectDceStubDataTestParse03);
1846 DetectDceStubDataTestParse04);
1848 DetectDceStubDataTestParse05);
1850 DetectDceStubDataTestParse06);