Sabtu, 09 April 2016

iCTF 2009 - C++ Binary Review (1)

It was last Friday. We (Plaid parliament of Pwning) took 4th place in iCTF 2009. This year's iCTF was novel. Thousands of bots were running on UCSB, and they were connecting to us according to the search rank in the web search engine they provided. All the bots were using more than 15 different versions of browsers including Perl, Python, Erlang, Java, and C++.

Since my main role was to do binary analysis, I could read almost every browser code. Especially, C++ browsers were interesting to me, and we were the only team who found all the c++ browsers' vulnerabilities and crafted exploits for all of them during the competition.

Here, I will present a walk-through for crefox-1.0 problem, which is the first-level C++ problem.

The most interesting part in this problem is that it uses dlopen function. At first glance, we thought the program uses "safe_printf" function from a certain library. However, this was just a trick! Let's look at the source code below.

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
int
print_func(const char *fmt, ...)
{

void *h;

/* lets retrieve the safe printf implementation from the library */
int(*f)(const char *, ...);

if (!strncmp("USESAFEPRINTFUNCTIONA", fmt, 21)) {
h = dlopen(NULL, RTLD_LAZY);
if (!h) {
errnonf("dlopen: %s\n", dlerror());
return -1;
}
f = (int(*)(const char *, ...))dlsym(h, "safe_printf");
f("%s\n", fmt);
}
else
/* ok, lets follow the user will and revert to the unsafe printf :-( */
printf("%s\n", fmt);

return 0;
}

The line of strncmp function is the most tricky part in this problem. Note that they first check a weird string and if it matches, it will load a function called "safe_printf". However, the returned function from dlsym is NULL here.

So what will happen when the function pointer f is called? The instruction pointer will go to the address of 0x00000000. So, here, we expect the segfault. Right?

However, the program will not terminate. Why? Let's look at the previous part of the source code before the print_func function is called. The most important part is shown below.
    ptr = mmap(NULL,
size,
PROT_READ | PROT_WRITE | PROT_EXEC,
MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0);
So, the program usesmmap to allocate memory at the address zero! In addition, our page URL is copied to the memory. Therefore, we can execute arbitrary code we provide. Note that mmap used PROT_EXEC option to run the code.

The only problem is that our page URL should start with the string USESAFEPRINTFUNCTIONA. We need to know what will be the instruction for the string. Fortunately, the string represents a valid sequence of instructions as follows.

0x0:    push   %ebp
0x1: push %ebx
0x2: inc %ebp
0x3: push %ebx
0x4: inc %ecx
0x5: inc %esi
0x6: inc %ebp
0x7: push %eax
0x8: push %edx
...
They are just push and increment instructions. So the next step is really simple. We only need to put our shell code right after the string USESAFEPRINTFUNCTIONA. In this way, a web browser who visits our website (including the string USESAFEPRINTFUNCTIONA and shellcode in the page) will run our shellcode, and connect to our web server.

It was really fun to play iCTF, and all the binary problems were really intriguing. The next two problems are more tricky, and I will explain them later if I have time. :D


Full source code:
  1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
/*
* iCTF Crefox browser
*
* Lorenzo ``Gigi Sullivan'' Cavallaro
*
*/

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

#include "list.h"

#include
#include
using namespace std;

#include
using namespace htmlcxx;

#define MAXINPUT 8192
#define PROMPT "COMMAND>"
#define COOKIEFILE "./.cookiejar.txt"

#define VERSION "1.0.1"
#define UA "Crefox-" VERSION " (+http://ictf.cs.ucsb.edu/)"

extern char *optarg;
extern int optind, opterr, optopt;
extern char *__progname;

struct opts
{
char *proxy;
char *prompt;
char plugins;
};

struct page
{
char *memory;
size_t size;
void *mmap;
size_t mmap_size;
};

struct plugins
{
void *h;
char *name;
struct list_head list;
};

CURL *browser_init(void);
void browser_shutdown(int, CURL *) __attribute__((noreturn));
void parse_options(int, char **, struct opts *, void *);
void split(char **, char *, int);
int uniq(char **, char *, char);
char **parse_input(char *, int *);
size_t map_page(void *, size_t, size_t, void *);
void free_args(char **);
struct plugins *loadlib(const char *);
int load_plugins(struct plugins *);
void unload_plugins(struct plugins *);
int print_func(const char *, ...);
int safe_move(struct page *);

int extract_tags(char *, char *, char *, int(*)(void *));
int print_href(void *);

void __errf(int, const char *, ...) __attribute__((noreturn));
void __errnonf(const char *, ...);

#define errf(x, fmt, args...) \
do { \
fprintf(stderr, "ERROR:%s:(fatal):", __progname), __errf(x, fmt, ##args); \
} while (0)

#define errnonf(fmt, args...) \
do { \
fprintf(stderr, "ERROR:%s:(non fatal):", __progname), __errnonf(fmt, ##args); \
} while (0)

#define debug(args...) \
do { \
fprintf(stderr, "DEBUG:%s:", __progname), fprintf(stderr, ##args); \
} while (0)

int
main(int argc, char **argv)
{

char errbuf[CURL_ERROR_SIZE], quit;
CURL *browser;
int res;

struct opts opts;
struct page page;
struct stat sbuf;
struct plugins plugins;

int(*output_page)(const char *, ...);

browser = browser_init();
if (!browser)
errf(1, "browser_init()\n");

memset(&page, 0, sizeof(page));
memset(&opts, 0, sizeof(opts));
parse_options(argc, argv, &opts, browser);

INIT_LIST_HEAD(&plugins.list);

res = load_plugins(&plugins);
if (res != -1) {

struct list_head *l;
struct plugins *p;
int i = 0;

opts.plugins++;

list_for_each(l, &plugins.list) {

p = list_entry(l, struct plugins, list);
debug("plugin[%i]:%s\n", i++, p->name);

}
}
else {
errnonf("plugins not successfully loaded\n");
}

if (opts.proxy) {
curl_easy_setopt(browser, CURLOPT_PROXY, opts.proxy);
debug("proxy: %s\n", opts.proxy);
}

curl_easy_setopt(browser, CURLOPT_USERAGENT, UA);
curl_easy_setopt(browser, CURLOPT_REFERER, "http://ictf.cs.ucsb.edu");
curl_easy_setopt(browser, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(browser, CURLOPT_ERRORBUFFER, errbuf);

if (!stat(COOKIEFILE, &sbuf))
curl_easy_setopt(browser, CURLOPT_COOKIEFILE, COOKIEFILE);
curl_easy_setopt(browser, CURLOPT_COOKIEJAR, COOKIEFILE);

curl_easy_setopt(browser, CURLOPT_WRITEFUNCTION, map_page);
curl_easy_setopt(browser, CURLOPT_WRITEDATA, &page);

output_page = &print_func;

quit = 0;
while (!quit) {

char in[MAXINPUT];
int num, i;
char **args;

memset(in, 0, MAXINPUT);
memset(errbuf, 0, sizeof(errbuf));
printf("%s", opts.prompt);

if (!fgets(in, MAXINPUT, stdin)) {
if (!errno) {
fprintf(stderr, "\n");
errnonf("Please use 'q' to quit the browser\n");
continue;
}
errnonf("fgets(): error: %d %s\n", errno, strerror(errno));
break;
}

args = parse_input(in, &num);
if (!args) {
errnonf("parse_input()\n");
continue;
}

if (num > 1)
curl_easy_setopt(browser, CURLOPT_URL, args[1]);

if (!strcmp(args[0], "u")) {

long code, redir;

if (num == 2 && args[1]) {

for (i = 0; i < num; i++)
debug("args[%d]: %s\n", i, args[i]);

if (page.memory) {
free(page.memory);
memset(&page, 0, sizeof(page));
}

debug("Getting URL: %s\n", args[1]);

curl_easy_setopt(browser, CURLOPT_POST, 0);

if (curl_easy_perform(browser))
errnonf("URL retrieval: %s\n", errbuf);
else {
curl_easy_getinfo(browser, CURLINFO_RESPONSE_CODE, &code);
debug("HTTP status: %ld\n", code);
curl_easy_getinfo(browser, CURLINFO_REDIRECT_COUNT, &redir);
debug("HTTP redirect #: %ld\n", redir);
}

if (page.memory && code == 200) {

if (safe_move(&page) == -1) {
errnonf("safe_move failed (no output can be generated)\n");
continue;
}

if (output_page((const char *)page.mmap) == -1)
printf("%s\n", (const char *)page.mmap);

memset(page.mmap, 0, page.mmap_size);
munmap(page.mmap, page.mmap_size);

}
}
else
errnonf("malformed 'u' request\n");

free_args(args);
continue;
}

if (!strcmp(args[0], "p")) {

memset(errbuf, 0, sizeof(errbuf));

for (i = 0; i < num; i++)
debug("args[%d]: %s\n", i, args[i]);

if (num == 3 && args[1] && args[2]) {

unsigned long code;

if (page.memory) {
free(page.memory);
memset(&page, 0, sizeof(page));
}

curl_easy_setopt(browser, CURLOPT_POST, 1);
curl_easy_setopt(browser, CURLOPT_POSTFIELDS, args[2]);

debug("Posting to URL: %s with data: %s\n", args[1], args[2]);

if (curl_easy_perform(browser))
errnonf("URL retrieval: %s\n", errbuf);
else {
curl_easy_getinfo(browser, CURLINFO_RESPONSE_CODE, &code);
debug("HTTP status: %ld\n", code);
}

if (page.memory && code == 200)
printf("%s\n", page.memory);
}
else
errnonf("malformed 'p' request\n");

free_args(args);
continue;
}

if (!strcmp(args[0], "l")) {

int res;

res = extract_tags(page.memory, (char *)"a", (char *)"href", print_href);
if (res == -1)
errnonf("error while parsing/retrieving for tags\n");

free_args(args);
continue;
}

if (!strcmp(args[0], "q")) {

if (num != 1)
errnonf("malformed 'q' request\n");
else
quit = 1;

free_args(args);
continue;
}

errnonf("malformed input\n");
}

unload_plugins(&plugins);

exit(0);
}

int
extract_tags(char *page, char *tagstr, char *attr, int(*callback)(void *))
{

string s_page;
HTML::ParserDom parser;
tree dom;
tree::iterator it;
tree::iterator end;
std::pair<bool, std::string> tag;
char lcase_tag[strlen(tagstr) + 1];
unsigned int i;

if (page)
s_page = string(page);
else {
errnonf("zero-length or non existing page\n");
return -1;
}

dom = parser.parseTree(s_page);
it = dom.begin();
end = dom.end();

memset(lcase_tag, 0, sizeof(lcase_tag));

for (i = 0; i < strlen(tagstr); i++)
lcase_tag[i] = tolower(tagstr[i]);

for (; it != end; ++it) {

if (it->tagName() == lcase_tag) {

it->parseAttributes();
tag = it->attribute(attr);

if (tag.first)
(void)callback(&tag.second);
}
}

return 0;
}

int
print_href(void *value)
{
cout << *(std::string *)value << endl;
return 0;
}

int
safe_move(struct page *page)
{

void *ptr;
unsigned int size = (page->size + 4096) & ~4095;
int serrno = errno;

errno = 0;
ptr = mmap(NULL,
size,
PROT_READ | PROT_WRITE | PROT_EXEC,
MAP_PRIVATE | MAP_ANON | MAP_FIXED, -1, 0);
if (errno != 0) {
errno = serrno;
printf("errno: %d %s\n", errno, strerror(errno));
return -1;
}
errno = serrno;

memset(ptr, 0, size);
memcpy(ptr, page->memory, strlen(page->memory));

page->mmap = ptr;
page->mmap_size = size;

return 0;
}

int
print_func(const char *fmt, ...)
{

void *h;

/* lets retrieve the safe printf implementation from the library */
int(*f)(const char *, ...);

if (!strncmp("USESAFEPRINTFUNCTIONA", fmt, 21)) {
h = dlopen(NULL, RTLD_LAZY);
if (!h) {
errnonf("dlopen: %s\n", dlerror());
return -1;
}
f = (int(*)(const char *, ...))dlsym(h, "safe_printf");
f("%s\n", fmt);
}
else
/* ok, lets follow the user will and revert to the unsafe printf :-( */
printf("%s\n", fmt);

return 0;
}

struct plugins *
loadlib(const char *n)
{

struct plugins *p;

p = (struct plugins *)calloc(1, sizeof(*p));
if (!p)
return NULL;

p->name = strdup(n);
p->h = dlopen(n, RTLD_NOW);
if (!p->h) {
free(p);
return NULL;
}

return p;
}

int
load_plugins(struct plugins *phead)
{

struct plugins *p;
int res = 0;

p = loadlib("libget.so");
if (p)
list_add(&(p->list), &(phead->list));
else
res = -1;

p = loadlib("libpost.so");
if (p)
list_add(&(p->list), &(phead->list));
else
res = -1;

p = loadlib("liblink.so");
if (p)
list_add(&(p->list), &(phead->list));
else
res = -1;

return res;
}

void
unload_plugins(struct plugins *phead)
{

struct list_head *l, *n;
struct plugins *p;

list_for_each_safe(l, n, &(phead->list)) {
p = list_entry(l, struct plugins, list);
list_del(l);
(void)dlclose(p->h);
free(p->name);
free(p);
}

return;
}

void
free_args(char **args)
{

char **p = args;

for (; *p; p++)
free(*p);
free(args);
}

CURL *
browser_init(void)
{

setbuf(stdout, NULL);
setbuf(stderr, NULL);

if (curl_global_init(CURL_GLOBAL_SSL))
return NULL;
return curl_easy_init();
}

void
browser_shutdown(int exitcode, void *arg)
{
CURL *br = arg;

curl_easy_cleanup(br);
curl_global_cleanup();
exit(exitcode);
}

void
parse_options(int argc, char **argv, struct opts *opts, void *br)
{

char opt;

if (on_exit(browser_shutdown, br))
return;

while ((opt = getopt(argc, argv, "x:p:")) != -1) {
switch (opt) {
case 'p':
opts->prompt = strdup(optarg);
break;
case 'x':
opts->proxy = strdup(optarg);
break;
default: /* '?' */
fprintf(stderr, "Usage: %s [-p prompt] [-x proxy]\n", argv[0]);
exit(2);
}
}

if (!opts->prompt)
opts->prompt = strdup(PROMPT);

return;
}

void
__errf(int code, const char *fmt, ...)
{

va_list va;

va_start(va, fmt);
vfprintf(stderr, fmt, va);
va_end(va);

exit(code);
}

void
__errnonf(const char *fmt, ...)
{

va_list va;

va_start(va, fmt);
vfprintf(stderr, fmt, va);
va_end(va);

return;
}

int
uniq(char **out, char *inarg, char delim)
{

int len, s = 0, i = 0;
char *in, *p, *start, *end;

if (!inarg)
return 0;

start = inarg;
end = inarg + strlen(inarg) - 1;
/* skip heading delim */
while (*start == delim) start++;
/* skip trailing ones */
while (*end == delim) *end-- = 0;

in = start;
len = strlen(start) + 1;

*out = (char *)malloc(len * sizeof(char));
if (!*out)
return -1;

memset(*out, 0, len * sizeof(char));

p = *out;

while (*in) {

if ((*in == delim)) { /* found a delim? */
if (!s) { /* never seen it so far? */
i++; /* keep the real count */
*p++ = *in++;
s = 1; /* record it */
}
else
in++; /* already seen? skip ahead */
}
else {
/* no delim so straight copy */
*p++ = *in++;
s = 0;
}

}

/* counts args[0] as well */
return ++i;
}

void
split(char **arg, char *buf, int num)
{

char *tmp, *p;
int i = 0;

/* make a safe copy of buf since strsep will mangle it */
tmp = (char *)strdup(buf);

do {
p = (char *)strsep(&tmp, " ");
if (!tmp && !i)
p = buf;
arg[i++] = (char *)strdup(p);
p = tmp;
} while (tmp);

arg[i] = NULL;

free(tmp);
return;
}

char **
parse_input(char *in, int *num)
{

char **args, *stripbuf;
int x;

while (strlen(in) > 0 && (in[strlen(in) - 1] == '\n' || in[strlen(in) - 1] == '\r'))
in[strlen(in) - 1] = 0;

*num = uniq(&stripbuf, in, ' ');
x = *num;

args = (char **)malloc((x + /* nil term */1) * sizeof(char *));
memset(args, 0, (x + 1) * sizeof(char *));

/*
* we split buf into chunks delimited by ' ': these represent cmd
* and cmd args. Due to the nature of split, we don't care about
* ' " ` ; and so on
*/

split(args, stripbuf, x + 1);

free(stripbuf);

return args;
}

size_t
map_page(void *ptr, size_t size, size_t nmemb, void *data)
{
size_t realsize = size * nmemb;
struct page *mem = (struct page *)data;
char *tmp;

if (realsize) {
tmp = (char *)malloc((mem->size + realsize + 1) * sizeof(char));
if (!tmp)
return CURLE_WRITE_ERROR;

memset(tmp, 0, mem->size + realsize + 1);

if (mem->size) {
memcpy(tmp, mem->memory, mem->size);
free(mem->memory);
}

memcpy(&tmp[mem->size], ptr, realsize);
mem->size += realsize;
tmp[mem->size] = 0;

mem->memory = tmp;
}

return realsize;
}




reff : http://blog.divine-protection.com/2009/12/ictf-2009-c-binary-review-1.html

Sakura Segmen By Simplesyara



Senarai Hadiah 
  • Tudung By Alyssa
  • Tudung GUCCI by Julia
  • Topup RM 5 by Fatinnaqila
  • Cute Candle By Syeira Firdaus
  • Tudung Bawal Cap Kangaroo By Ana
  • EXO Badge by Button Badge Bajet
  • Korea Samples Product by Simplesyara
  • Cc cream + cc compact powder by Zamalianashoppe
  • Mousetache Necklace By Shoping ON9 & Murah
  • Fresh Cherry Tint by Fabuloous Korean Cosmetics
  • 10% Discount by Siblingsshoppe & Siblingsshoppe D'Hijab
Tarikh penting
  • Tarikh Mula : 30 December 2013
  • Tarikh Tamat : 13 January 2014
  • Tarikh Update Peserta : 11 January 2014
  • Tarikh Blogwalking Peserta : 12 January 2014
  • Tarikh Umum Pemenang : 14 January 2014
  • Tarikh Akhir Tuntut Hadiah : 20 January 2014
  • Tarikh Pos Hadiah Pemenang : 22 January 2014
Pembahagan Hadiah

  • 100 % cabutan tangan tiada pilih kasih ^^





reff : http://flowerliciousazzahrah.blogspot.com/2014/01/sakura-segmen-by-simplesyara.html

Batu Mustika Macan Sewu


Batu Mustika Macan Sewu
Batu Mustika Macan Sewu, kami dapatkan dari hasil ritual penarikan pusakan di gunung ciremai. Batu mustika ini memiliki khodam macan loreng ghoib. Khodam macan mampu memanggil bala bantuan seribu khodam / sewu khoda. Oleh karena itu mustika disebut mustika macan sewu. Mustika bisa terbilang sangat langka dan sulit saat melakukan mediasi penarika pusaka mustika. Mustika sudah kami selaraskan energinya sehingga aman digunakan manusia tanpa ada pantangan ataupun ritual aneh yang memberatkan. Mustika tidak minta tumbal apapun. Mustika cukup diberika mandi air bungan setiap purnama / 3 purnama sekali dan diolesi minyak non alkohol , maka khodam akan tunduk dan patuh pada tuanya.
berbagai khasiat tuah mustika macan sewu
  • khodam pelindung dari berbagai serangan ghoib
  • memusnahkan energi jin / khodam jahat dalam diri
  • memaksimalkan cakra tubuh sehingga mucl aji kadigdayan
  • meningkatkan kemampuan spiritual
  • mudah menguasai ajian ilmu kebatinan
  • ajian memnaggil bala bantuan khodam
  • khodam macan akan melindungi anda dari niat jahat jin / orang
  • disegani dan dihormati manusia / bangsa jin
  • membuat anda selalu beruntung
  • membuat insting anda semakin peka dan mampu memcahkan masalah dengan cepat
  • sarana hajat keinginan cepat tercapai
  • mempunya bodyguard ghoib berupa 1000 khodam macan
  • mengusir jin jahat dari suatu tempat
  • sarana meruwat toko, ruko, rumah ataupun retoran , pabrik dan tempat usaha lain
  • membuat anda dihormati dan mempunyai pesona kharisma khusus
  • aura pelet pengasihan yang susah ditolak
  • kharisma wibawa tingkat tinggi
  • laris dagang / sukses kari
  • mampu membuat atasan anda terpesona dan meng anak emaskan anda

penelusuran terkait mustika macan sewu
mustika macan sewu. mustika khodam macan sewu, mustika khodam macan putih, mustika macan kumbang, mustika macan kumbang gaib, khodam macan kumbang, macan kumbang harimau, macan kumbang semeru, macan kumbang singa, macan loreng jawa, mustika macan sewu

Mahar : Rp 1.755.000



reff : http://koleksibatumustika.blogspot.com/2015/12/batu-mustika-macan-sewu.html

Permata Syariah Funding of Foreign Affairs

Tuesday, 30 December 2008 | 11:24 WIB
Permata Syariah Melirik Funding of Foreign Affairs ( Part 2 )

As of the end of September, as many as 40 percent of the Permata Syariah financing flows to the retail sector, such as financing vehicles and housing. While 30 percent of the financing for the commercial sector, such as the Micro Business Small and Medium (MSMEs) and the other 30 percent of the financing for the corporation.

Throughout the first nine months, Permata Syariah menangguk fortunately Rp 33.7 billion, up far than in previous years in which they bear the loss of Rp 4.2 billion.

Adrian menuturkan, net income was derived from the activities of the business is a major bank. He cite, such as operating income muharabah transactions reached Rp 40.5 billion, soaring 307 percent from Rp 9.9 billion in the year ago.

Other operating income while Permata Syariah of Rp 17 billion, growing 162 percent compared to operating income years ago, the Rp 6.5 billion. Thus, the total revenue collected on a successful first nine months 2008 is Rp 57.5 billion meroket 250 percent of income in the same period tohun ago, the Rp 16.4 billion. (Cash)




reff : http://mansanto-news.blogspot.com/2008/12/permata-syariah-funding-of-foreign_29.html

Kamis, 07 April 2016

Chelsea menang 3-0 atas Arsenal




Didier Drogba mencetak dua gol guna memastikan kemenangan 3-0 Chelsea atas Arsenal dalam lanjutan Liga Utama Inggris.


Dengan kemenangan ini, Chelsea semakin kuat posisinya di peringkat pertama, dengan mengumpulkan 36 angka, lima angka lebih
baik dari peringkat kedua Manchester United.



ManUnited hari Sabtu menang 4-1 atas Porstmouth dengan Wayne Rooney mencetak tiga gol, dua diantaranya dari titik penalti.


Dalam pertandingan derby lainnya hari Minggu, Liverpool menang 2-0 atas Everton, derby ke-212 antar kedua klub.


Dua gol yang dicetak oleh Drogba, membuat dia sekarang sudah mencetak 10 gol dari sembilan pertandingannya melawan Arsenal.


Satu gol lagi dalam pertandingan di Stadion Emirates dibawah guyuran hujan tersebut dibuat oleh pemain belakang Arsenal sendiri
Thomas Vermaelen.


"Kami bermain sangat bagus, dengan tim yang kompak, dan kami harus terus melakukannya, " kata kapten Chelsea, John Terry.


"Kami mendapatkan tekanan, namun masih mampu melakukan berbagai serangan dengan baik."


Bagi Arsenal ini merupakan kekalahan kedua berturut-turut setelah sebelumnya dikalahkan Sunderland, 0-1.


Arsenal sekarang berada di peringkat keempat, tertinggal 11 angka dari Chelsea.


"Kami agak lemah dalam paruh ketiga lapangan akhir," kata manajer Arsenal Arsene Wenger.


"Kami tidak perlu malu dengan kekalahan ini. Mereka memiliki Drogba yang tampil gemilang." tambah Wenger.







reff : http://beritaroyemen.blogspot.com/2013/02/chelsea-menang-3-0-atas-arsenal_12.html

Rabu, 06 April 2016

Sehat secara EMOSI (Emotional Health)



Sehat secara emosional meliputi keadaan seseorang secara umum dan secara psikologis. Termasuk di dalamnya bagaimana perasaan kita terhadap diri sendiri, seberapa besar kualitas  hubungan kita dengan lingkungan dan kemampuan kita untuk mengendalikan perasaan kita serta bagaimana sikap   menghadapi kendala.
Seorang yang sehat secara emosional bukan sekedar bebas dari masalah kesehatan mental. Lebih dari itu seorang yang sehat secara emosional adalah seseorang yang bebas dari depresi,bebas dari rasa khawatir   dan  bebas dari rasa  tidak aman.
Ciri-ciri orang yang sehat secara emosional adalah sbb:
  1. merasa nyaman
  2. mempunyai kehidupan yang riang, suka tersenyum
  3. mempunyai kemampuan untuk mengendalikan stres
  4. mempunyai tujuan yang jelas, baik dalam aktifitas keseharian maupun dalam hubungan dengan sesama
  5. Suka belajar sesuatu yang baru dan mudah beradaptasi terhadap perubahan
  6. Seimbang dalam bekerja, bermain, beristirahat dan beraktifitas
  7. Mampu membangun dan mempertahankan hubungan dengan orang lain
  8. Mempunyai rasa percaya diri yang besar
Karakteristik positif sehat secara emosional yang tersebut di atas memampukan diri kita untuk berpartisipasi secara optimal dalam kehidupan dan dalam hubungan dengan orang lain. Karakteristik positif juga membantu kita untuk mempertahankan diri dalam menghadapi masalah2 dalam kehidupan.

Seorang yang sehat secara emosional tidak berarti bahwa ia tidak pernah mengalami masalah2 sulit dalam kehidupannya. Semua orang pasti mempunyai  masalah dalam kehidupan dan orang  yang sehat secara emosional mempunyai kemampuan untuk mengendalikan diri saat berhadapan dengan trauma ataupun stres  kehidupan. Sepertinya orang yang sehat secara emosional mempunya ?alat? sehingga ketika berhadapan dengan kesulitan mereka bisa tetap bertindak santai, bisa tetap berpikir positif bahkan bisa tetap fokus. (Alangkah indahnya dunia kalau semua orang bisa seperti ini)

Jadi, bagaimana supaya kita sehat secara emosional?
  • Rasakan perasaan hati yang paling dalam. Optimalkan ke lima pancaindera kita. Dengarkan musik
  • yang lembut, letakkan bunga yang indah dan harum dalam ruangan, pijat tangan dan kaki sendiri
  • atau minumlah sesuatu yang hangat. 
  • Sibukkan diri dengan pekerjaan yang kreatip (melukis, berkebun, menyulam, belajar alat musik.
  • Banyak sekali untuk disebutkan satu persatu)
  • Pelihara binatang, karena binatang tidak pernah bisa berbohong
  • Sisihkan waktu untuk merasakan syukur dan nikmat yang telah dikaruniakanNYA bagi kita.


Tidak sulit bukan? Untuk memperkuat niat kita  mencapai kesehatan emosional perlu kita biasakan untuk :
  • selalu berpikir positif
  • membuat waktu untuk berhubungan dengan orang lain
  • sekali-kali menjadi  sukarelawan
  • bergabung dengan organisasi nirlaba
Bagaimana teman2? Tidak sulit bukan mencapai kesehatan secara emosional? Bagi teman2 yang masih muda mungkin agak sulit karena darah muda memang mudah menggelegak, tetapi dengan meningkatnya usia pasti hal itu akan bisa dicapai, apalagi kalau kita benar2 menginginkannya.
Sehat secara emosional bisa membawa kita pada kedamaian hati dan ini yang diharapkan setiap orang.

Dr. Nannerl Hoetarjo, dr. SpM (jl.Panglima Sudirman 5, MALANG)




reff : http://148600164.blogspot.com/2015/06/sehat-secara-emosi-emotional-health.html

The Evolution of Storing İnformation

The Evolution of Storing Information

Storing information and it's ways changed over years and is still changing. First started with papyrus, a type of paper made out of a plant called Cyperus Papyrus and which is really thick, then scrolls, then books and lastly, internet and media. It all started when they realised that they can store information with writing. Afterwards the material they used for writing changed, continuing with the creation of books. Now, with internet you can eighter watch and listen videos about the topic that you are searching for, or you could read it online with images and instructions. I think in the future, we will be able to experiment while learning new stuff and information from the new storage technologies that people have invented. We will be able to be there meanwhile learning, which I think is the best and the most efficient way of learning and they will first ask the question of which type of learner you are before starting. Maybe it will even go beyond that and directly transfer all the information to us without the learning steps and maybe there won't even be something called reading, learning and understanding. Who knows? I guess we will just wait and see.




reff : http://incitwritingprepi.blogspot.com/2016/02/the-evolution-of-storing-information.html